if c.nil?
if BufferManager.sigwinch_happened?
- Redwood::log "redrawing screen on sigwinch"
+ debug "redrawing screen on sigwinch"
BufferManager.completely_redraw_screen
end
next
Ncurses.stdscr.keypad 1
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