diff options
| author | Gabriel Schneider <[email protected]> | 2026-08-02 18:04:34 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-10 09:17:07 -0300 |
| commit | 4ffc8ed795ff58426aea28d3b3b38df1428d2980 (patch) | |
| tree | 65c36f8b2a7c8a3f8597b23b95878a52423f4f20 /src/output_pane.zig | |
| parent | 5961587b227e5fa097fb033e32c29da08a23fb18 (diff) | |
| download | pardes-4ffc8ed795ff58426aea28d3b3b38df1428d2980.tar.gz pardes-4ffc8ed795ff58426aea28d3b3b38df1428d2980.zip | |
normal Esc toggles document/terminal focus
Diffstat (limited to 'src/output_pane.zig')
| -rw-r--r-- | src/output_pane.zig | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/output_pane.zig b/src/output_pane.zig index bd11a227..4b62a06e 100644 --- a/src/output_pane.zig +++ b/src/output_pane.zig @@ -105,9 +105,6 @@ pub const Traits = struct { /// that asked for it, lands directly below it and takes its rows from /// there, so opening or closing one never resizes a bystander. doc: bool = false, - /// Esc dismisses it: there is no file behind the pane and nothing worth - /// keeping, so "never mind" means close it — Esc IS the Del its tag offers. - dismiss: bool = true, /// there is a file behind it to write. Also what its tag says: no Save to /// offer means the plain pane tail rather than the file one. saves: bool = false, @@ -116,7 +113,7 @@ pub const Traits = struct { /// A REAL file pane, as a row of the same table — so kind-agnostic code asks /// one question and gets one answer whichever it is holding. `name` is unused: /// a file already has a path. -const file_row: Traits = .{ .name = "", .doc = true, .dismiss = false, .saves = true }; +const file_row: Traits = .{ .name = "", .doc = true, .saves = true }; /// THE TABLE. Everything above, answered from the command that opened the /// buffer. Exhaustive on purpose: a new `lsp.Kind` or a new output-opening |
