Archived
1
0
Fork 0

Trigger window events

This commit is contained in:
Braiden Vasco 2017-07-21 17:17:49 +00:00
parent c51e65b657
commit f6c0b1dd87

View file

@ -101,6 +101,11 @@ private
def handle(char)
case char
when Curses::Key::SLEFT
@messenger.trigger Events::Window::Left.new
when Curses::Key::SRIGHT
@messenger.trigger Events::Window::Right.new
when Curses::Key::UP
@messenger.trigger Events::Panel::Up.new
when Curses::Key::DOWN