mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-14 22:06:10 +00:00
app: only create first window in exe mode
This commit is contained in:
@@ -91,7 +91,7 @@ pub fn main() !void {
|
||||
// We want to log all our errors
|
||||
glfw.setErrorCallback(glfwErrorCallback);
|
||||
|
||||
// Run our app
|
||||
// Run our app with a single initial window to start.
|
||||
var app = try App.create(alloc, &config);
|
||||
defer app.destroy();
|
||||
try app.run();
|
||||
|
Reference in New Issue
Block a user