Type echo 日本語 in PS.
The text should appear exactly as typed and the cursor should be at the end of the input.
Part of the input is clipped off (only the left half of 本 is showing) and the cursor rests in the clipped-off area instead of to the right of the last character (語).
> $PSVersionTable
Name Value
---- -----
PSVersion 5.1.15063.138
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.15063.138
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
@NatsumiHoshino Thanks for your report!
Is the Issue only on 5.1.15063.138 or on previous versions too?
Repros on alpha.18 w/ CentOS (and confirmed to not repro in the same terminal emulator w/ bash):
Name Value
---- -----
PSVersion 6.0.0-alpha
PSEdition Core
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 3.0.0.0
GitCommitId v6.0.0-alpha.18
CLRVersion
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
I tried on an older machine with PSVersion 5.1.14393.1066 and could repro the issue.
Repros w/o PSReadLine?
@SteveL-MSFT on Windows at least, no it looks like a PSReadline thing.
I genuinely can't remember on Linux, and I'm booted into my Windows partition right now....could someone verify?
Should we fix/close this before RTM?
I think so. I think it's fixed by this commit - but I have some more work to do before this branch is ready for more general use.
Resolving as duplicate of lzybkr/PSReadLine#289