]> granicus.if.org Git - mutt/commitdiff
Cursor cosmetics. From Byrial.
authorThomas Roessler <roessler@does-not-exist.org>
Thu, 30 Mar 2000 07:50:55 +0000 (07:50 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Thu, 30 Mar 2000 07:50:55 +0000 (07:50 +0000)
curs_main.c

index 99b753a2a78ed426dfb6784d4455c33ae4958055..bf33e25f7911e7ec57cca1f54ebc56c9f4a6e708 100644 (file)
@@ -490,7 +490,8 @@ int mutt_index_menu (void)
        do_buffy_notify = 1;
     }
 
-    mutt_curs_set (0);
+    if (op != -1)
+      mutt_curs_set (0);
 
     if (menu->redraw & REDRAW_FULL)
     {
@@ -538,8 +539,6 @@ int mutt_index_menu (void)
 
       dprint(4, (debugfile, "mutt_index_menu[%d]: Got op %d\n", __LINE__, op));
 
-      mutt_curs_set (1);
-      
 #if defined (USE_SLANG_CURSES) || defined (HAVE_RESIZETERM)
       if (SigWinch)
       {
@@ -555,7 +554,9 @@ int mutt_index_menu (void)
 
       if (op == -1)
        continue; /* either user abort or timeout */
-
+      
+      mutt_curs_set (1);
+      
       /* special handling for the tag-prefix function */
       if (op == OP_TAG_PREFIX)
       {