ruby/test/reline
verdy89 7c6e4bc7ca [ruby/reline] Implement the redo command
(https://github.com/ruby/reline/pull/707)

* Implement the redo command

* Commented out a test that does not pass

* Changed key assignment for redo from "\C-[" to "\C-g"

* Changed redo key assignment from `\C-g` to `\M-\C-_`

* Revert the first implemantation

* Implemented redo by sharing `@past_lines` between undo and redo

* Fixed the index of past_lines that is updated when the cursor is moved

* Fixed deletion of the redo history in regular input

* Renamed variables: past_lines -> input_lines

* Rename @position to @input_lines_position

* Deleted unused variables: `@old_byte_pointer` and `@old_line_index`

https://github.com/ruby/reline/commit/0b2d9fab5f
2024-05-27 16:38:22 +00:00
..
windows Tests for Windows can run only on Windows 2021-08-05 13:58:07 +09:00
yamatanooroti [ruby/reline] Implement the redo command 2024-05-27 16:38:22 +00:00
helper.rb [ruby/reline] Refactor nomultiline and multiline mode difference 2024-04-17 16:12:20 +00:00
test_ansi_with_terminfo.rb [ruby/reline] Continue processing even if terminfo database couldn't 2024-04-06 09:24:53 +00:00
test_ansi_without_terminfo.rb [ruby/reline] Always set ANSI CSI keybindings for Home, End, and 2023-07-19 13:25:58 +00:00
test_config.rb [ruby/reline] allow space in config value 2024-05-26 08:28:25 +00:00
test_face.rb [ruby/reline] Fallback to 256color if COLORTERM != truecolor 2023-11-13 12:42:31 +00:00
test_history.rb [ruby/reline] Reduce direct references to `Reline::IOGate` 2023-07-07 17:27:25 +00:00
test_key_actor_emacs.rb [ruby/reline] Implement the redo command 2024-05-27 16:38:22 +00:00
test_key_actor_vi.rb [ruby/reline] Implement changing editing mode 2024-04-16 11:58:49 +00:00
test_key_stroke.rb [ruby/reline] Ignore unhandled escape sequences 2023-07-08 08:41:30 +00:00
test_kill_ring.rb [ruby/reline] Add Enumerable to KillRing for debugging 2020-12-19 02:12:11 +09:00
test_line_editor.rb [ruby/reline] Completely support full-width characters in 2024-04-29 12:08:59 +00:00
test_macro.rb [ruby/reline] Reline 0.5.0.pre 2024-03-19 14:17:26 +00:00
test_reline.rb [ruby/reline] Avoid STDIN.winsize called in `require "reline"` 2024-05-10 17:19:42 +00:00
test_reline_key.rb [ruby/reline] Properly restore Reline::IOGate in test teardown 2023-09-28 13:53:30 +00:00
test_string_processing.rb [ruby/reline] Reline 0.5.0.pre 2024-03-19 14:17:26 +00:00
test_terminfo.rb [ruby/reline] Continue processing even if terminfo database couldn't 2024-04-06 09:24:53 +00:00
test_unicode.rb [ruby/reline] Completely support full-width characters in 2024-04-29 12:08:59 +00:00
test_within_pipe.rb [ruby/reline] Fix default and additional key bindings vanish bug 2024-05-02 14:41:07 +00:00