mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-08-24 16:11:43 +00:00
config: flush autogenerated config template
#13774 Flush the buffered writer after writing the template so newly created configuration files contain the expected guidance instead of being empty.
This commit is contained in:
@@ -4121,6 +4121,7 @@ fn writeConfigTemplate(path: []const u8) !void {
|
||||
@embedFile("./config-template"),
|
||||
.{ .path = path },
|
||||
);
|
||||
try writer.flush();
|
||||
}
|
||||
|
||||
/// Load configurations from the default configuration files. The default
|
||||
|
||||
Reference in New Issue
Block a user