Skip to content
Snippets Groups Projects
Commit b527456b authored by Cameron Desautels's avatar Cameron Desautels Committed by Connor Atherton
Browse files

Add `next-history` / `previous-history` to `rl_named_function`

These are the original names of the commands in GNU Readline. Adding
these aliases allows existing `.inputrc` files which reference these
commands to work properly.
parent c9efe303
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2362,6 +2362,8 @@ module RbReadline
return :rl_rubout_or_delete
when "kill-whole-line"
return :rl_kill_full_line
when "next-history"
return :rl_get_next_history
when "non-incremental-forward-search-history"
return :rl_noninc_forward_search
when "non-incremental-reverse-search-history"
Loading
Loading
@@ -2372,6 +2374,8 @@ module RbReadline
return :rl_noninc_reverse_search_again
when "redraw-current-line"
return :rl_refresh_line
when "previous-history"
return :rl_get_previous_history
when "self-insert"
return :rl_insert
when "undo"
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment