Skip to content

Commit

Permalink
Merge pull request #72 from osyo-manga/add-support-home_end_key-in-ub…
Browse files Browse the repository at this point in the history
…untu

Add support <Home> and <End> keys in Ubuntu 18.04
  • Loading branch information
aycabta authored Nov 20, 2019
2 parents 89f55a4 + 95d01a7 commit 1961c40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/reline/ansi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ class Reline::ANSI
[27, 91, 51, 126] => :key_delete, # Del
[27, 91, 49, 126] => :ed_move_to_beg, # Home
[27, 91, 52, 126] => :ed_move_to_end, # End
[27, 91, 72] => :ed_move_to_beg, # Home
[27, 91, 70] => :ed_move_to_end, # End
[27, 32] => :em_set_mark, # M-<space>
[24, 24] => :em_exchange_mark, # C-x C-x TODO also add Windows
}
Expand Down

0 comments on commit 1961c40

Please sign in to comment.