-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cursor offset with show-mode-in-prompt string #657
Labels
Comments
Looks like a config loading bug. Using \x20 might be a workaround
|
@tompng good catch, thank you! Using |
monkeyWzr
added a commit
to monkeyWzr/reline
that referenced
this issue
May 15, 2024
tompng
pushed a commit
that referenced
this issue
May 26, 2024
matzbot
pushed a commit
to ruby/ruby
that referenced
this issue
May 26, 2024
(ruby/reline#705) * allow space in config value fix ruby/reline#657 * remove inline comments * Revert "remove inline comments" This reverts commit ruby/reline@2438347c1a10. * refactoring * remove unnecessary comment handling ruby/reline@d60f1e1e39
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I have the following config in my
.inputrc
to modify the cursor shape via escape sequences in the vi-mode-string variables:With these escape sequences in place the IRB prompt is offset (it reads
rb(main)
instead ofirb(main)
) and cursor/caret is placed at the beginning of the line (over the 'r') instead of at the prompt. Typing inserts the correct characters at the prompt and the cursor moves but keeps the original offset.For example, typing the command
p 1
would move the cursor as indicated:Terminal Emulator
Gnome Terminal, Black Box, Alacritty, iTerm2, Gnome Console
The text was updated successfully, but these errors were encountered: