From 0752fff2152c86caa67d7a0dafcfda3582fbf384 Mon Sep 17 00:00:00 2001 From: tomoya ishida Date: Mon, 7 Oct 2024 09:37:29 +0900 Subject: [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 --- test/reline/test_ansi_without_terminfo.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'test') 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 -- cgit v1.2.3