microsoft / microsoft/terminal

when using VT mouse mode, click + drag mouse to top of screen scrolls terminal history

Open
#11,399 2 comments 0 reactions 0 assignees View on GitHub
Area-Input Area-TerminalControl Issue-Bug Priority-2 Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version (or Windows build number)

1.11.2421.0

### Other Software

wsl vim (using sgr mouse mode)

### Steps to reproduce

launch vim with mouse mode enable
click and drag the mouse to top of screen

### Expected Behavior

vim receives mouse events

### Actual Behavior

vim receives mouse events and terminal history scrolls upward

https://user-images.githubusercontent.com/43626415/135701637-10ac56f1-890b-4cd1-b569-7137d2b1abea.mp4

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in Windows Terminal 1.11.2421.0 with WSL vim using SGR mouse mode, following the listed click-and-drag steps. Investigate the handling of mouse events at the top of the terminal and verify that vim still receives the events without scrolling terminal history.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, vim
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.