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 moves to an incorrect place when using Japanese text input #275

ronba opened this Issue Aug 28, 2015 · 6 comments


None yet
3 participants

ronba commented Aug 28, 2015

When typing in Japanese text the cursor is moved to an incorrect place:

Repro steps:

  1. Open Powershell and Type (or paste) something like: 日本語
  2. Then switch back to English (or continue typing in Japanese) - the cursor remains "behind" the letters as new letters are being inserted.

Attached GIF that shows the behaviour:

This only happens if PSReadline is loaded.


This comment has been minimized.


lzybkr commented Aug 28, 2015

Which version? I think this should work on Win10 or if you've PSReadline yourself from master, but if you've installed a pre-built version yourself (probably, then that would explain it.


This comment has been minimized.

ronba commented Aug 28, 2015

Version is (like you said) on Windows 10 installed using the new Install-Module command (not PSGet).
I tried building the project from master but compilation failed.
Is there a place where I can get the latest version?


This comment has been minimized.


rkeithhill commented Aug 28, 2015

Windows 10 comes with the latest version built-in - 1.1. You don't need to install PSReadLine. Try running the following to remove version

Uinstall-Module PSReadLine -RequiredVersion 1.0.013

This comment has been minimized.

ronba commented Aug 28, 2015

Uninstall-Module didn't do the job, removed it myself and loaded the 1.1 version.
The cursor problem is no longer present like you said however the typing is still weird.

Nothing is displayed on the screen until I press Enter, in some cases I can see the IME completion on the bottom part of the screen (which is pretty cool!) but it disappears if I keep typing in most cases.
Not sure if this is how it's supposed to behave:

  1. Open PowerShell
  2. Switch to Japanese
  3. Start typing: nininini (in Japanese characters) - nothing is displayed until you press Enter.
    Is there no way to allow the user to use the normal Japanese IME like in the gif above?

@lzybkr lzybkr added the Fixed? label Oct 31, 2017


This comment has been minimized.


lzybkr commented Oct 31, 2017

I believe this is fixed in #561.

I'll publish a pre-release version to the PowerShell Gallery as soon as they support pre-releases.

If you'd like to try a fix before that, you can build the lastest yourself from the master branch, or
grab a build from AppVeyor like this one.

Note the version number is now 2.0, so be sure to copy the contents to \PSReadLine\2.0.


This comment has been minimized.


lzybkr commented Nov 4, 2017

I'll have an official prerelease build out next week if you want to verify this is fixed, otherwise you can grab a build out of appveyor here.

@lzybkr lzybkr closed this Nov 4, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment