commit ea9290bcb97c413f8387021bb42a823029c8c447
parent a26d92147a34f6dc26646acd2170751dc474417a
Author: William Morgan <wmorgan-sup@masanjin.net>
Date: Tue, 18 Aug 2009 09:07:28 -0700
ncurses cursor pops on after refresh. disable that.
Yet more shotgun programming.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/sup/buffer.rb b/lib/sup/buffer.rb
@@ -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}"