Code

Fix that keeps the cursor hidden on aterm/Eterm when the terminal is resized.
authorKalle Wallin <kaw@linux.se>
Thu, 22 Apr 2004 20:28:42 +0000 (20:28 +0000)
committerKalle Wallin <kaw@linux.se>
Thu, 22 Apr 2004 20:28:42 +0000 (20:28 +0000)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@874 09075e82-0dd4-0310-85a5-a0d7c8717e4f

screen.c

index 53146216c001f37b86725fb656b1a8d0d7cc4e03..0524b0d82ab0d4fb5b7e853410565b81d114ae06 100644 (file)
--- a/screen.c
+++ b/screen.c
@@ -375,7 +375,11 @@ screen_resize(void)
 
       list=list->next;
     }
-  
+
+  /* ? - without this the cursor becomes visible with aterm & Eterm */
+  curs_set(1);
+  curs_set(0);     
+
   screen->painted = 0;
 }