Method: Termcontroller::Controller#raw
- Defined in:
- lib/termcontroller/controller.rb
#raw ⇒ Object
FIXME: The first event after the yield appears to fail to pass the mapping. Maybe move the mapping to the client thread?
108 109 110 111 112 113 114 115 116 117 |
# File 'lib/termcontroller/controller.rb', line 108 def raw keybindings = @keybindings @keybindings = {} push_target(nil) yield rescue Interrupt ensure @keybindings = keybindings pop_target end |