Window Configuration
WezTerm provides extensive options for customizing the appearance and behavior of terminal windows.Window Size
Initial Dimensions
The width of a new window, expressed in character cells.
The height of a new window, expressed in character cells.
Font Size Change Behavior
When true, the window size adjusts to maintain the same number of rows and columns when font size changes.
Window Padding
Controls the amount of padding between the window border and terminal cells. Values can be specified in pixels, points, cells, or percentage.
Padding Units
You can specify padding using different units:If
enable_scroll_bar is true, the right padding value controls the scrollbar width.Window Decorations
Controls which window decorations are enabled. Can be combined with
|.Valid values:NONE: No decorationsTITLE: Show title barRESIZE: Allow window resizingMACOS_FORCE_ENABLE_SHADOW: Enable shadow on macOSMACOS_FORCE_DISABLE_SHADOW: Disable shadow on macOSINTEGRATED_BUTTONS: Use integrated title bar buttons
Integrated Title Buttons
Configure the appearance of integrated title bar buttons:Array of button names to show in the integrated title bar.
Style of integrated buttons. Valid values:
Windows, Gnome, MacOsNativeAlignment of integrated buttons. Valid values:
Left, RightColor for integrated title buttons. Can be
Auto or a hex color value.Window Frame
Configure the window frame appearance when using client-side decorations:Configuration object for window frame appearance.
Window Background
Solid Color Background
The background color is set via the color scheme or colors configuration:Background Opacity
The opacity of the window background, from 0.0 (fully transparent) to 1.0 (fully opaque).
Background Images
An array of background layer specifications. Layers can include images, gradients, and solid colors.
Background Gradients
Shorthand for configuring a gradient background.
Window Content Alignment
Horizontal alignment of terminal content within the window. Valid values:
Left, Center, RightWindow Blur Effects
macOS Window Blur
macOS-specific blur radius for window background. Values typically range from 0 to 100.
Windows System Backdrop
Windows 11-specific backdrop material. Valid values:
Auto, Disable, Acrylic, Mica, TabbedAccent color for Windows Acrylic backdrop effect. Specify as hex color.
KDE Window Blur
Enable KDE Plasma window background blur effect.
Window Close Confirmation
Controls when to show close confirmation. Valid values:
AlwaysPrompt: Always ask for confirmationNeverPrompt: Never ask for confirmation
Skip Close Confirmation for Processes
Array of process names that won’t trigger close confirmation.
Window Behavior
Quit When All Windows Closed
When true, WezTerm quits when the last window is closed.
Native macOS Fullscreen
When true, uses native macOS fullscreen mode with animations and separate Space.
macOS Fullscreen Notch Behavior
On macOS with notch, extend fullscreen content behind the notch.
Window Resize Behavior
Use Resize Increments
When true, window resizing snaps to character cell boundaries.
Tiling Desktop Environments
List of desktop environments detected as tiling window managers.
Complete Window Configuration Example
See Also
- Color Schemes - Configure colors
- Fonts - Font configuration
- Tab Bar Configuration - Tab bar appearance