Skip to content

Commit

Permalink
Merge pull request #178 from maybeetree/tmux_arrow_fix
Browse files Browse the repository at this point in the history
Fix shift+arrow keys for tmux
  • Loading branch information
jquast committed Aug 23, 2020
2 parents 657b7c9 + 7465c87 commit 50a5550
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions blessed/keyboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,10 @@ def _read_until(term, pattern, timeout):
(u"\x1b[B", curses.KEY_DOWN),
(u"\x1b[C", curses.KEY_RIGHT),
(u"\x1b[D", curses.KEY_LEFT),
(u"\x1b[1;2A", curses.KEY_SR),
(u"\x1b[1;2B", curses.KEY_SF),
(u"\x1b[1;2C", curses.KEY_SRIGHT),
(u"\x1b[1;2D", curses.KEY_SLEFT),
(u"\x1b[F", curses.KEY_END),
(u"\x1b[H", curses.KEY_HOME),
# not sure where these are from .. please report
Expand Down

0 comments on commit 50a5550

Please sign in to comment.