microsoft/terminal

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

Open

#19.265 aberto em 22 de ago. de 2025

Ver no GitHub
 (3 comments) (0 reactions) (0 assignees)C++ (103.173 stars) (9.275 forks)batch import
Area-UserInterfaceHelp WantedImpact-VisualIssue-BugPriority-3Product-Terminal

Description

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.

Guia do colaborador