mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-17 21:12:39 +00:00
feat: add readonly surface mode
This commit is contained in:
committed by
Mitchell Hashimoto
parent
dd06d8a13b
commit
12bb2f3f47
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user