config: add confirm-close-surface

This commit is contained in:
Jack Pearkes
2023-04-05 12:49:03 -07:00
parent 920200fa04
commit 5aa3514122

View File

@ -164,6 +164,10 @@ pub const Config = struct {
/// Additional configuration files to read.
@"config-file": RepeatableString = .{},
// Confirms that a surface should be closed before closing it. This defaults
// to true. If set to false, surfaces will close without any confirmation.
@"confirm-close-surface": bool = true,
/// This is set by the CLI parser for deinit.
_arena: ?ArenaAllocator = null,