You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Characters such as Chinese, Japanese, and Korean occupy two characters in the terminal, and English characters and numbers occupy one character.
When moving the cursor to render the box, the number of steps counted as a single character will cause the characters to be confused.
To Reproduce
Steps to reproduce the behavior:
Go into inshellisense runtime.
Go to a git repo dir
Exec LANG=zh_CN git status
Repeat the previous command until the prompt reaches the last line of your screen
Now trigger suggestion box. try type git
Expected behavior
Render the suggestion box correctly.
Environment
OS: [Mac Intel]
Output of 0.0.1-rc.7:
Nodejs Version: 18.17.1
Shell: zsh
Shell Version: 5.7.1
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
Characters such as Chinese, Japanese, and Korean occupy two characters in the terminal, and English characters and numbers occupy one character.
When moving the cursor to render the box, the number of steps counted as a single character will cause the characters to be confused.
To Reproduce
Steps to reproduce the behavior:
LANG=zh_CN git status
git
Expected behavior
Render the suggestion box correctly.
Environment
0.0.1-rc.7
:Additional context
The text was updated successfully, but these errors were encountered: