terminal icon indicating copy to clipboard operation
terminal copied to clipboard

You have to double hit the key to get the chinese punctuation corretly in vim/neovim in this terminal!

Open zyy1998 opened this issue 6 years ago • 2 comments

Environment

Windows build number: Microsoft Windows NT 10.0.18362.0
Windows Terminal version: v0.8.10261.0 and 2019/6/21 published on MS-Store
NeoVim version: 0.4.3
Input method editor: Microsoft Pinyin

Steps to reproduce

  1. Install vim/neovim
  2. Open powershell in the terminal and type nvim test.md
  3. Switch to Chinese input method editor
  4. Feel free to type some Chinese punctuation like ,。?!() and you'll get what I say

Expected behavior

If I just write in English in the terminal, it performs pretty well. And I have tested it in cmder and nvim-qt.exe, have no problem. 20200207184039 ( BTW, nvim-qt is not a terminal actually )

20200207185123

Actual behavior

In windows terminal, whatever I use nvim in powershell or vim in WSL bash, I have to hit the key twice in order to input the Chinese punctuation. So I pretty sure it's a bug of windows terminal.

More interested, you need not have to hit the same key twice, just hit whatever first and then hit what you want to input, it seems that the first key has been eaten by terminal.

Most interested is: I clicked some emoji in MS pinyin with the mouse, but it did not appear here immediately., when I typed some Chinese ( NOT ENGLISH ), all the emojis swarm into my terminal.

20200207193010

zyy1998 avatar Feb 07 '20 11:02 zyy1998

Thanks for the report! This sounds like a /dupe of #3745

DHowett-MSFT avatar Feb 07 '20 17:02 DHowett-MSFT

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

ghost avatar Feb 07 '20 17:02 ghost