PowerShell / Win32-OpenSSH

Win32 port of OpenSSH
7.46k stars 766 forks source link

Win32-OpenSSH V8.9.1.0p1-Beta sending Ctrl+space is not clean enough to cause <c-space> not to be processed correctly #1971

Open mochazi opened 2 years ago

mochazi commented 2 years ago

Prerequisites

Steps to reproduce

I'm using the Win32-OpenSSH V8.9.1.0p1-Beta version on Windows, connecting to a remote archlinux host, and using coc.nvim to code-completion by pressing the Ctrl + Space shortcut, but extra characters appear. In WSL2, Ctrl + Space successfully handles completion syntax. I suspect it's a problem with Win32-OpenSSH V8.9.1.0p1-Beta

Steps to reproduce

  1. Please install the latest version of Arch Linux in advance.
  2. Execute the install.sh script of vimrc to automatically install with one click.
  3. Using Win32-OpenSSH V8.9.1.0p1-Beta to connect to a remote Arch Linux host on Windows.
  4. Create arbitrary cpp files, such as vim demo.cpp
  5. Enter the cpp code, press Ctrl + Space to complete the code.

key code

Use <c-space> to trigger completion.

Expected behavior

Successfully handle code completion.

Actual behavior

Code completion, extra characters appear.

Error details

No response

Environment data

- Windows 10 Pro x86_64 21H2
- Windows Terminal x86_64 1.14.1962.0
- Win32-OpenSSH V8.9.1.0p1-Beta
- Arch Linux x86_64
- openSUSE Tumbleweed on Windows 10 x86_64 (WSL2)
- vim 9.0.236

Version

V8.9.1.0p1-Beta

Visuals

Expected behavior

opensuse(WSL)

Actual behavior

ArchLinux

OS Environment

ArchLinux版本 opensuse版本

mgkuhn commented 2 years ago

See also #1842