Skip to content

Commit

Permalink
Add support for ctrl+pgup/dn under rxvt
Browse files Browse the repository at this point in the history
  • Loading branch information
davep committed Nov 23, 2023
1 parent 3b89363 commit dac9ab0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/textual/_ansi_sequences.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@
"\x1b[3^": (Keys.ControlDelete,), # rxvt
"\x1b[5;5~": (Keys.ControlPageUp,),
"\x1b[6;5~": (Keys.ControlPageDown,),
"\x1b[5^": (Keys.ControlPageUp,), # rxvt
"\x1b[6^": (Keys.ControlPageDown,), # rxvt
"\x1b[3;6~": (Keys.ControlShiftDelete,),
"\x1b[5;6~": (Keys.ControlShiftPageUp,),
"\x1b[6;6~": (Keys.ControlShiftPageDown,),
Expand Down

0 comments on commit dac9ab0

Please sign in to comment.