microsoft/Terminal

Allow smaller minimum width when in focus mode

Open

#9,551 创建于 2021年3月19日

在 GitHub 查看
 (2 评论) (2 反应) (0 负责人)C++ (3,212 fork)batch import
Area-UserInterfaceHelp WantedIssue-TaskProduct-Terminal

仓库指标

Star
 (35,764 star)
PR 合并指标
 (平均合并 27天 19小时) (30 天内合并 24 个 PR)

描述

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

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.

贡献者指南