mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
apprt/gtk: hook up open config
This commit is contained in:
@ -217,6 +217,11 @@ pub fn terminate(self: *App) void {
|
|||||||
self.config.deinit();
|
self.config.deinit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Open the configuration in the system editor.
|
||||||
|
pub fn openConfig(self: *App) !void {
|
||||||
|
try configpkg.edit.open(self.core_app.alloc);
|
||||||
|
}
|
||||||
|
|
||||||
/// Reload the configuration. This should return the new configuration.
|
/// Reload the configuration. This should return the new configuration.
|
||||||
/// The old value can be freed immediately at this point assuming a
|
/// The old value can be freed immediately at this point assuming a
|
||||||
/// successful return.
|
/// successful return.
|
||||||
|
Reference in New Issue
Block a user