lib/textbringer/window.rb in textbringer-0.1.2 vs lib/textbringer/window.rb in textbringer-0.1.3

- old
+ new

@@ -593,11 +593,11 @@ end def get_char if @key_buffer.empty? PDCurses.PDC_save_key_modifiers(1) if defined?(PDCurses) - need_retry = false begin + need_retry = false key = @window.get_char if defined?(PDCurses) mods = PDCurses.PDC_get_key_modifiers if key.is_a?(String) && key.ascii_only? if (mods & PDCurses::KEY_MODIFIER_CONTROL) != 0