microsoft / microsoft/terminal
Resizing terminal clears selection
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Windows Terminal version (or Windows build number)
Dev - latest
### Other Software
_No response_
### Steps to reproduce
1. Select text.
2. Resize the terminal vertically
3. Select text
4. Resize terminal horizontally
### Expected Behavior
- After 2: the selection should be preserved (both block and non-block selection)
- After 4: probably, non-block selection should remain adjusted to the new position of the selected text
### Actual Behavior
Selection is cleared both after 2 and 4 (inside _doResizeUnderLock)
Contributor guide
Research direction
Start at _doResizeUnderLock, which the issue identifies as clearing the selection, and reproduce the vertical and horizontal resize steps in Windows Terminal. The work is done when block selections remain preserved and non-block selections remain adjusted to the selected text after resizing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100