Optimizations in Ncurses::CharCode.get
Added workaround for screen redrawing when sigwinch happened