-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
Integrated Terminal can not display and input Chinese word #8892
Comments
Can Display but can not input on Windows 10! |
@Tyriar font set for the terminal is default,but IME is not |
@Tyriar No, I didn't change the font of the terminal. But changed the editor's font to |
@wzyplus Does the problem go away if you use the default "editor.fontFamily": "Consolas, 'Droid Sans Mono', 'Courier New', monospace, 'Droid Sans Fallback'" |
@Tyriar No, it doesn't work. |
@wzyplus can you setup xterm.js and see if you can reproduce it in the demo? git clone https://github.com/sourcelair/xterm.js.git
cd xterm.js
npm install
npm start
# navigate to http://0.0.0.0:3000 |
@Tyriar Can display but can't input. |
@wzyplus can you try toggling dev tools on vscode (Help > Toggle Developer Tools), inspecting the span/div containing the Inspect button: Computed styles tab: |
@Tyriar So does on Win10! But The lastest version can copy & paste!I have a .gif file, but upload failed! |
FYI on the input side of things I've put out a PR which is mostly done, I still need to verify it on multiple-character IME compositions though, such as in Japanese. I'm not familiar with the Chinese IME systems but I think it's likely covered by the Korean/Japanese cases. xtermjs/xterm.js#175 This should hopefully land in Insiders in about a week. |
@Tyriar Here is a wiki page I put together from various sources with examples and detailed steps on how different input methods should work, considering Word as the golden standard: https://github.com/Microsoft/vscode/wiki/IME-Test |
@alexandrudima I think this issue is related to text encoding rather than the IME. I'm familiar with Japanese and Korean IMEs from language learning so I used that experience when implementing support (which is in stable now). @rebornix did tests for Chinese, I don't think Vietnamese was tested though. You can check out xtermjs/xterm.js#175 for the testing I did before endgame. Thanks for the resource 👍 |
vs code: 1.6.0 "terminal.integrated.shell.windows": "bash.exe", // git bash |
The situation for this should be better now as |
Can not display
Steps to Reproduce:
ls
command.ITerm2
VSCode Terminal
Can not input
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: