microsoft / microsoft/terminal

Allow smaller minimum width when in focus mode

Open
#9,551 2 comments 2 reactions 0 assignees View on GitHub
Area-UserInterface Help Wanted Issue-Task Product-Terminal
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.

![min_width](https://user-images.githubusercontent.com/9131337/111820854-e408e100-88d9-11eb-9650-fc8c9ef74363.png)

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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.