config: add option to disable working directory inheritance

Fixes #618
This commit is contained in:
Mitchell Hashimoto
2023-10-05 21:55:43 -07:00
parent 7d0789edfc
commit e74897fa01
2 changed files with 10 additions and 2 deletions

View File

@@ -309,6 +309,12 @@ keybind: Keybinds = .{},
/// to balance the padding given a certain viewport size and grid cell size.
@"window-padding-balance": bool = false,
/// If true, new windows and tabs will inherit the working directory of
/// the previously focused window. If no window was previously focused,
/// the default working directory will be used (the "working-directory"
/// option).
@"window-inherit-working-directory": bool = true,
/// If true, new windows and tabs will inherit the font size of the previously
/// focused window. If no window was previously focused, the default
/// font size will be used. If this is false, the default font size