lib/ruco/keyboard.rb in ruco-0.2.14 vs lib/ruco/keyboard.rb in ruco-0.2.15
- old
+ new
@@ -73,9 +73,27 @@
when '^[1;10A' then :"Alt+Shift+up"
when '^[1;10B' then :"Alt+Shift+down"
when '^[1;10C' then :"Alt+Shift+right"
when '^[1;10D' then :"Alt+Shift+left"
+ when '^[F' then :"Shift+end"
+ when '^[H' then :"Shift+home"
+
+ when '^[1;9F' then :"Alt+end"
+ when '^[1;9H' then :"Alt+home"
+
+ when '^[1;10F' then :"Alt+Shift+end"
+ when '^[1;10H' then :"Alt+Shift+home"
+
+ when '^[1;13F' then :"Alt+Ctrl+end"
+ when '^[1;13H' then :"Alt+Ctrl+home"
+
+ when '^[1;14F' then :"Alt+Ctrl+Shift+end"
+ when '^[1;14H' then :"Alt+Ctrl+Shift+home"
+
+ when 527 then :"Ctrl+Shift+end"
+ when 532 then :"Ctrl+Shift+home"
+
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