Skip to content
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

Fix handling of double-column characters #749

Open
BenWiederhake opened this issue Sep 14, 2018 · 1 comment
Open

Fix handling of double-column characters #749

BenWiederhake opened this issue Sep 14, 2018 · 1 comment
Labels
bug
Milestone

Comments

@BenWiederhake
Copy link

@BenWiederhake BenWiederhake commented Sep 14, 2018

This is probably an issue with curtsies, but until I'm sure I want to report it here first:

Steps to reproduce: Enter something like '間'.isalnum(), then move the cursor back (left arrow key) such that a is the next character, and insert an x.
Expected behavior: Visually it looks like we're about to insert an x between is and alnum. So I would expect the line to say isxalnum.
Actual behavior: It now says '間'.isaxlnum(), with the next character seemingly being the x.

Try this out with y instead of to see the expected behavior.

I may have broken this in the patch to #703, I'm not sure.

The pun ("間" meaning "between") is entirely coincidental, but I like it, and I'm keeping it.

@rybarczykj
Copy link
Contributor

@rybarczykj rybarczykj commented Aug 20, 2020

Resolved with PR #817! And a current PR is in progress to fix line wrapping with double-column chars.

@sebastinas sebastinas added this to the release-0.20 milestone Aug 24, 2020
@sebastinas sebastinas added the bug label Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.