microsoft/Terminal

initialRows/initialCols should respect the first launched profile in a window, rather than the default

开放

#19,265 创建于 2025年8月22日

 (3 条评论) (0 个反应) (0 位负责人)C++ (9,275 个派生)batch import
Area-UserInterfaceHelp WantedImpact-VisualIssue-BugPriority-3Product-Terminal

仓库指标

星标
 (103,173 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Current behavior

Currently, the --size command uses the font of the default profile to calculate window size, which results in a different size when opening another profile with a different font setting.

Proposed change

Add a new Default launch size field to profile settings. If only one profile is requested at launch, use the size from the new field (--size overrides it) with the font settings of the specified profile. If multiple profiles is requested, use the current behavior.

Why do I need this feature

This is important for my workflow as I need to open an instance with many small cells instead of a few big cells. Changing from the settings page is slow and ruins the default settings.

贡献者指南