]> git.cworth.org Git - sup/commitdiff
ncurses cursor pops on after refresh. disable that.
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Tue, 18 Aug 2009 16:07:28 +0000 (09:07 -0700)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Tue, 18 Aug 2009 16:07:28 +0000 (09:07 -0700)
Yet more shotgun programming.

lib/sup/buffer.rb

index 7605e52d9275ec3e713d4faeb47c3c5d25ee581c..f3b3cd5e7fd9cf1b5022303d1dc2668f3e3db8dd 100644 (file)
@@ -269,6 +269,7 @@ EOS
     ## this magic makes Ncurses get the new size of the screen
     Ncurses.endwin
     Ncurses.stdscr.keypad 1
+    Ncurses.curs_set 0
     Ncurses.refresh
     @sigwinch_mutex.synchronize { @sigwinch_happened = false }
     Redwood::log "new screen size is #{Ncurses.rows} x #{Ncurses.cols}"