From 4ffc8ed795ff58426aea28d3b3b38df1428d2980 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sun, 2 Aug 2026 18:04:34 -0300 Subject: normal Esc toggles document/terminal focus --- src/output_pane.zig | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/output_pane.zig') 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 -- cgit v1.3