-
Notifications
You must be signed in to change notification settings - Fork 136
Closed
Description
Description
I have "Home" and "End" keys on my numpad.
I want to use them to navigate to the beginning and end of the line respectively:
Instead it prints out ^[[1~ and ^[[4~.
I don't think it's a problem with my setup. these numpad Home/End keys work on the following interpreters on this system
- python
- node
- deno
- ocaml (with rlwrap)
rlwrap irb produces the same results for me as above.
Result of irb_info
Please paste the result of irb_info command in IRB.
ex.)
irb(main):001:0> irb_info
=>
Ruby version: 3.1.2
IRB version: irb 1.4.1 (2021-12-25)
InputMethod: ReidlineInputMethod with Reline 0.3.0 and /home/lewis/.inputrc
RUBY_PLATFORM: x86_64-linux
LANG env: en_NZ.utf8
East Asian Ambiguous Width: 1
Terminal Emulator
Alacritty. Same issue on XTerm and UXTerm.
Setting Files
Are you using ~/.irbrc and ~/.inputrc?
no
Metadata
Metadata
Assignees
Labels
No labels