-
Notifications
You must be signed in to change notification settings - Fork 41
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
multi-byte characters in prompt(chars) causes in-line editing to fail #78
Comments
90% is debugging. Look at the change around line 1155
Fixed the problem. Does that seem reasonable? What would break? Are there any tests I should run? |
Tux/tcsh@899eefb if you want to cherry-pick. I can turn it into a PR, but I guess it does not meet your standards |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The cursor is now after the x, as expected. Left arrow, home, etc all work as expected
Not what I hoped for
Ahhhhh, beautiful :)
The cursor is now after the
x
where it is expected, but using left-arrow will move the cursor 5 positions to the right instead. Now pressing the Home key puts the cursor on thex
instead of on thee
.FWIW the same happens without using special characters in
promptchars
:etc, same behavior.
My goal was to use "🐧䷡" on my devel box, where the
U1f427 \N{PENGUIN}
was for user "tux" andU04de1 \N{HEXAGRAM FOR GREAT POWER}
was for user "root"The text was updated successfully, but these errors were encountered: