From: William Morgan Date: Tue, 18 Aug 2009 16:07:54 +0000 (-0700) Subject: Merge branch 'ncurses-fixes' into next X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=daf951d67068db6c4ee975466bbe61c0180f5532;p=sup Merge branch 'ncurses-fixes' into next --- daf951d67068db6c4ee975466bbe61c0180f5532 diff --cc lib/sup/buffer.rb index be2d1bb,f3b3cd5..7fa82d8 --- a/lib/sup/buffer.rb +++ b/lib/sup/buffer.rb @@@ -269,9 -269,10 +269,10 @@@ EO ## 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}" + debug "new screen size is #{Ncurses.rows} x #{Ncurses.cols}" status, title = get_status_and_title(@focus_buf) # must be called outside of the ncurses lock