microsoft/Terminal

Allow smaller minimum width when in focus mode

開放

#9,551 建立於 2021年3月19日

 (2 則留言) (2 個反應) (0 位負責人)C++ (9,275 個分叉)batch import
Area-UserInterfaceHelp WantedIssue-TaskProduct-Terminal

倉庫指標

星標
 (103,173 顆星)
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.

貢獻者指南