lib/ruco/keyboard.rb in ruco-0.0.22 vs lib/ruco/keyboard.rb in ruco-0.0.23
- old
+ new
@@ -40,14 +40,18 @@
when Curses::Key::UP then :up
when Curses::Key::DOWN then :down
when Curses::Key::RIGHT then :right
when Curses::Key::LEFT then :left
when 554 then :"Ctrl+right"
+ when 393 then :"Shift+left"
when 555 then :"Ctrl+Shift+right"
when 539 then :"Ctrl+left"
+ when 402 then :"Shift+right"
when 540 then :"Ctrl+Shift+left"
when 560 then :"Ctrl+up"
+ when 337 then :"Shift+up"
when 519 then :"Ctrl+down"
+ when 336 then :"Shift+down"
when Curses::KEY_END then :end
when Curses::KEY_HOME then :home
when Curses::KEY_NPAGE then :page_down
when Curses::KEY_PPAGE then :page_up
when Curses::KEY_IC then :insert
\ No newline at end of file