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

Characters outside of Ascii range hard to navigate across #9966

Closed
scabug opened this issue Oct 17, 2016 · 2 comments
Closed

Characters outside of Ascii range hard to navigate across #9966

scabug opened this issue Oct 17, 2016 · 2 comments
Labels
Milestone

Comments

@scabug
Copy link

scabug commented Oct 17, 2016

I've tried the

Navigating multi-byte characters is "wrong" on REPL. Without telling you the actual behavior, I'd like if you try doing the following. Fix the errors in this statement- System.out.println( Seq( "允走 ) ) ).

You will notice that when you're on the Unihan characters, you'll have to do Ctrl-F/right arrow twice for the cursor to seem to move forward. However, the actual movements registered 4 such forward characters (2 times for each Unihan), so the cursor may show up right after the second Unihan character but you're actually two places forward from there. Needless to say it's a "wrong" behavior and can be annoying.

This could likely be an issue with jline, or the terminal software itself too.

@scabug
Copy link
Author

scabug commented Oct 17, 2016

Imported From: https://issues.scala-lang.org/browse/SI-9966?orig=1
Reporter: JohnAndes (andesj)
Affected Versions: 2.11.8

@scabug
Copy link
Author

scabug commented Oct 17, 2016

@som-snytt said:
I'm not exactly following the jline updates, but this works on 2.12.x.

@scabug scabug added the repl label Apr 7, 2017
@SethTisue SethTisue added this to the 2.12.0 milestone Mar 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants