mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-05 04:47:52 +00:00
config: add "initial-command" config, "-e" sets that
Fixes #2601 It is more expected behavior that `-e` affects only the first window. By introducing a dedicated configuration we avoid making `-e` too magical: its simply syntax sugar for setting the "initial-command" configuration.
This commit is contained in:
@@ -66,6 +66,11 @@ font_grid_set: font.SharedGridSet,
|
||||
last_notification_time: ?std.time.Instant = null,
|
||||
last_notification_digest: u64 = 0,
|
||||
|
||||
/// Set to false once we've created at least one surface. This
|
||||
/// never goes true again. This can be used by surfaces to determine
|
||||
/// if they are the first surface.
|
||||
first: bool = true,
|
||||
|
||||
pub const CreateError = Allocator.Error || font.SharedGridSet.InitError;
|
||||
|
||||
/// Initialize the main app instance. This creates the main window, sets
|
||||
|
||||
Reference in New Issue
Block a user