mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-05 17:36:32 +00:00
cli args support optional types
This commit is contained in:
@@ -150,7 +150,7 @@ pub fn create(alloc: Allocator, loop: libuv.Loop, config: *const Config) !*Windo
|
||||
errdefer pty.deinit();
|
||||
|
||||
// Create our child process
|
||||
const path = (try Command.expandPath(alloc, "sh")) orelse
|
||||
const path = (try Command.expandPath(alloc, config.command orelse "sh")) orelse
|
||||
return error.CommandNotFound;
|
||||
defer alloc.free(path);
|
||||
|
||||
|
Reference in New Issue
Block a user