feat: add readonly surface mode

This commit is contained in:
Matthew Hrehirchuk
2025-10-10 12:30:55 -06:00
committed by Mitchell Hashimoto
parent dd06d8a13b
commit 12bb2f3f47
6 changed files with 58 additions and 1 deletions

View File

@@ -485,6 +485,12 @@ fn actionCommands(action: Action.Key) []const Command {
.description = "Toggle the zoom state of the current split.",
}},
.toggle_readonly => comptime &.{.{
.action = .toggle_readonly,
.title = "Toggle Read-Only Mode",
.description = "Toggle read-only mode for the current surface.",
}},
.equalize_splits => comptime &.{.{
.action = .equalize_splits,
.title = "Equalize Splits",