
There is an extra space before the cursor, how to fix this bug?
This problem only occur when I open cmd.exe, but there is no extra space when I open powershell with cmder.
Startup -> Environment
Then add chcp 65001

@Jeff-sjtu Thank you. Your answer fix my problem
@Jeff-sjtu I have take your method. But When I use ssh command, this problem will reappear. How can I fix it ?

@fztfztfztfzt hi, this is Windows 10 bug, please upgrade to OS version 15063.332 .
OS: Windows 10
Change the original command prompt 位 to other characters in file cmder/vendor/clink.lua line 51
// before fixing
local lambda = "位"
// after modification
local lambda = ">>"
Don't edit clink.lua. There are other BETTER ways. search for prompt.lua
Most helpful comment
Startup -> Environment

Then add
chcp 65001