Skip to content

Commit

Permalink
Remove unused constant CAPNAME_KEY_BINDINGS
Browse files Browse the repository at this point in the history
  • Loading branch information
tompng committed Jan 19, 2025
1 parent 73340f2 commit 72b051f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions lib/reline/io/ansi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,6 @@
require 'io/wait'

class Reline::ANSI < Reline::IO
CAPNAME_KEY_BINDINGS = {
'khome' => :ed_move_to_beg,
'kend' => :ed_move_to_end,
'kdch1' => :key_delete,
'kpp' => :ed_search_prev_history,
'knp' => :ed_search_next_history,
'kcuu1' => :ed_prev_history,
'kcud1' => :ed_next_history,
'kcuf1' => :ed_next_char,
'kcub1' => :ed_prev_char,
}

ANSI_CURSOR_KEY_BINDINGS = {
# Up
'A' => [:ed_prev_history, {}],
Expand Down

0 comments on commit 72b051f

Please sign in to comment.