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

unicode double-width character support #33

Open
obfusk opened this issue Feb 16, 2021 · 0 comments
Open

unicode double-width character support #33

obfusk opened this issue Feb 16, 2021 · 0 comments

Comments

@obfusk
Copy link

obfusk commented Feb 16, 2021

I recently ran into Unicode history does not work very well in pyrepl in PyPy and investigated it a bit.

I've got a proof of concept patch (based on the vendored version from PyPy) here: https://github.com/obfusk/pyrepl-wide
It doesn't handle wrapped lines and a few other cases (yet), but it does work quite well otherwise.
It seems to work quite well 😄

Based on a quick look at a diff it seems that the PyPy version doesn't differ much (or in ways not relevant to this).
I'd appreciate some input from someone more familiar with the original code.

@obfusk obfusk changed the title unicode support unicode double-width character support Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant