From: William Morgan Date: Tue, 18 Aug 2009 16:07:28 +0000 (-0700) Subject: ncurses cursor pops on after refresh. disable that. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=ea9290bcb97c413f8387021bb42a823029c8c447;p=sup ncurses cursor pops on after refresh. disable that. Yet more shotgun programming. --- diff --git a/lib/sup/buffer.rb b/lib/sup/buffer.rb index 7605e52..f3b3cd5 100644 --- 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}"