Method: Muby::InputWindow#process
- Defined in:
- lib/muby/inputwindow.rb
#process ⇒ Object
Just keep listening to the keyboard input.
183 184 185 186 187 188 189 190 191 192 193 194 195 |
# File 'lib/muby/inputwindow.rb', line 183 def process loadHistory do_startup_triggers # We need to check one key at a time due to triggers and conf.key_commands while c = @inputWindow.wgetch if c == Ncurses.const_get("ERR") sleep(0.01) else handle(c, conf.key_commands) update end end # while c = @inputWindow.wgetch end |