aboutsummaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-04-22 20:28:42 +0000
committerKalle Wallin <kaw@linux.se>2004-04-22 20:28:42 +0000
commit4314bb955b36d2801340b5b4859a7d4c93794cde (patch)
treee5d28b626cd6cd465606c386e9c6baa69e3cfdda /screen.c
parentb1f77e2684e85fac5ef5d50fc1342d7d53e5a492 (diff)
downloadmpd-4314bb955b36d2801340b5b4859a7d4c93794cde.tar.gz
mpd-4314bb955b36d2801340b5b4859a7d4c93794cde.tar.xz
mpd-4314bb955b36d2801340b5b4859a7d4c93794cde.zip
Fix that keeps the cursor hidden on aterm/Eterm when the terminal is resized.
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@874 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--screen.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/screen.c b/screen.c
index 53146216c..0524b0d82 100644
--- 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;
}