microsoft / microsoft/terminal
Allow smaller minimum width when in focus mode
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
It is not current possible to resize the terminal window so that is narrower than around 460px. I'm guessing this is to ensure there is enough room for tab headers and title bar etc. However, it would be desirable, when in focus mode, to be able to narrow the window further. This would facilitate simple "kiosk" apps (like the old Windows "widgets"). E.g. in the picture below, output is from a periodic script and is guaranteed never to exceed the text width being shown. I'd like to be able to make the terminal window narrower to fit the text to avoid wasting screen real-estate.

Note this is not the same as #6820 although it is related. That request is to _prevent_ the user from narrowing the window beyond a certain threshold.
Contributor guide
Research direction
Start by locating the terminal window's minimum-width enforcement and the code that handles focus mode. Reproduce the current minimum width, then verify that focus mode permits a narrower window without affecting other modes or tab and title-bar behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, desktop
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100