summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortomoya ishida <tomoyapenguin@gmail.com>2024-10-07 09:37:29 +0900
committergit <svn-admin@ruby-lang.org>2024-10-07 00:37:33 +0000
commit0752fff2152c86caa67d7a0dafcfda3582fbf384 (patch)
tree523cfdb43b54b949b545dc2e499226c1abbc46b6 /test
parent8f5abcb0c7a81b63f8af9fc53ac7bbb48007974b (diff)
[ruby/reline] Add cursor keys for application keypad mode to default
key bindings (https://github.com/ruby/reline/pull/719) * Add SS3 arrow sequence to default key bindings * Remove wrong KDE arrow sequence https://github.com/ruby/reline/commit/546a42522e
Diffstat (limited to 'test')
-rw-r--r--test/reline/test_ansi_without_terminfo.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/reline/test_ansi_without_terminfo.rb b/test/reline/test_ansi_without_terminfo.rb
index 2db14cf0a0..62b1e7dec0 100644
--- a/test/reline/test_ansi_without_terminfo.rb
+++ b/test/reline/test_ansi_without_terminfo.rb
@@ -32,25 +32,21 @@ class Reline::ANSI::WithoutTerminfoTest < Reline::TestCase
def test_up_arrow
assert_key_binding("\e[A", :ed_prev_history) # Console (80x25)
- assert_key_binding("\eGA", :ed_prev_history) # KDE
assert_key_binding("\eOA", :ed_prev_history)
end
def test_down_arrow
assert_key_binding("\e[B", :ed_next_history) # Console (80x25)
- assert_key_binding("\eGB", :ed_next_history) # KDE
assert_key_binding("\eOB", :ed_next_history)
end
def test_right_arrow
assert_key_binding("\e[C", :ed_next_char) # Console (80x25)
- assert_key_binding("\eGC", :ed_next_char) # KDE
assert_key_binding("\eOC", :ed_next_char)
end
def test_left_arrow
assert_key_binding("\e[D", :ed_prev_char) # Console (80x25)
- assert_key_binding("\eGD", :ed_prev_char) # KDE
assert_key_binding("\eOD", :ed_prev_char)
end