Scrolling and clicking adds unwanted characters in Vim #8545

Closed
opened 2026-01-31 01:32:06 +00:00 by claunia · 3 comments
Owner

Originally created by @ayushg-bst on GitHub (May 24, 2020).

Environment

Windows build number: 10.0.18363.0
Windows Terminal version (if applicable):1.0.1401.0

Any other software?

Steps to reproduce

I use ssh to login into my work machine which is Linux. I then proceed to open a file with Vim. When I try to scroll around, it automatically enters insert mode and adds a bunch of characters.

Expected behavior

Clicking normally should let me select text and scrolling should not insert text

Actual behavior

image

Originally created by @ayushg-bst on GitHub (May 24, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: 10.0.18363.0 Windows Terminal version (if applicable):1.0.1401.0 Any other software? ``` # Steps to reproduce I use ssh to login into my work machine which is Linux. I then proceed to open a file with Vim. When I try to scroll around, it automatically enters insert mode and adds a bunch of characters. <!-- A description of how to trigger this bug. --> # Expected behavior <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> Clicking normally should let me select text and scrolling should not insert text # Actual behavior ![image](https://user-images.githubusercontent.com/60141064/82751416-ab40ce00-9dd4-11ea-9192-5dba2318fa2e.png) <!-- What's actually happening? -->
Author
Owner

@zadjii-msft commented on GitHub (May 26, 2020):

@ayushg-bst Which version of ssh are you using? Are you using ssh from within WSL, or the default ssh.exe that ships with Windows?

@zadjii-msft commented on GitHub (May 26, 2020): @ayushg-bst Which version of ssh are you using? Are you using `ssh` from within WSL, or the default `ssh.exe` that ships with Windows?
Author
Owner

@lebe-dev commented on GitHub (May 27, 2020):

The same issue i have when clicking in Midnight Commander.
2020-05-27_10-08-05

I'm using default Windows client, without WSL:

ssh -V
OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5

With WSL it works as expected.

@lebe-dev commented on GitHub (May 27, 2020): The same issue i have when clicking in Midnight Commander. ![2020-05-27_10-08-05](https://user-images.githubusercontent.com/9587482/82988544-03104c80-a002-11ea-8caa-8fdb9d50e177.png) I'm using default Windows client, without WSL: ``` ssh -V OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5 ``` With WSL it works as expected.
Author
Owner

@ghost commented on GitHub (May 31, 2020):

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@ghost commented on GitHub (May 31, 2020): This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8545