microsoft / microsoft/terminal
Add an option to disable reflow on window resize
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
# Description of the new feature/enhancement
There is an issue with zsh and powerlevel10k with some configuration. When you use ruler or/and right segment in powerlevel10k and you resize the window, the content is reflowed and a mess happen in the terminal [as described in the powerlevel10k README](https://github.com/romkatv/powerlevel10k#horrific-mess-when-resizing-terminal-window).


# Proposed technical implementation details (optional)
An option that allow the user to choose between reflowing or truncating (the buffer or on display) the terminal content will solve this problem.
Contributor guide
Research direction
Start by reproducing the resize behavior with zsh and powerlevel10k, using the linked powerlevel10k README for context. Trace the terminal's resize and reflow handling, then determine how an option could select reflowing or truncation; done means the selected behavior is preserved when the window is resized.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, zsh
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100