Update of /cvsroot/lastbash/lastbash
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv21891
Modified Files:
lastbash
Log Message:
User CTRL-L for redraw.
Index: lastbash
===================================================================
RCS file: /cvsroot/lastbash/lastbash/lastbash,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -d -r1.70 -r1.71
--- lastbash 30 Nov 2006 21:29:29 -0000 1.70
+++ lastbash 30 Nov 2006 21:49:05 -0000 1.71
@@ -65,6 +65,7 @@
declare -a HTTP_HEADERS HTTP_RESPONSE
CR=$'\x0d'
LF=$'\x0a'
+CTRL_L=$'\x0c'
# Set some shell options
shopt -s nocasematch
@@ -1463,7 +1464,7 @@
"p") tui_lastfm_rtp ;;
"d") tui_lastfm_discovery ;;
# Redisplay the TUI
- "R") sigwinch ;;
+ "${CTRL_L}") sigwinch ;;
# Player commands
"x") player_load ;;
"X") player_start ;;
@@ -1476,7 +1477,7 @@
*)
if [ "${KEY}" ]
then
- # FIXME this is executed after a remote call, too
+ # FIXME this gets executed after a remote call, too
tui_keys
sleep 3
tui_sbar
@@ -1554,7 +1555,7 @@
# Let's initialize
init
-# Login
+# Ask user name and password, if needed
login
# Now, let's save the PID
|