summaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-29 10:44:30 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:16 -0300
commitd5743f2a58a03539d3c34bee3b2ad18b96b2da55 (patch)
treee2726a5605b4f42dae3de00c75d13d327c27b40d /src/config.zig
parent5fd713889b6bdeb27c58941b77266c9336bf7b7d (diff)
downloadpardes-d5743f2a58a03539d3c34bee3b2ad18b96b2da55.tar.gz
pardes-d5743f2a58a03539d3c34bee3b2ad18b96b2da55.zip
A refusal over unsaved panes keeps its list in +Unsaved and shows a short notice
Exit's refusal (and Restore's, Del's, Delcol's, get's) put its full text on a notice that went: a long list of names, gone before it was read. The list now goes into one +Unsaved pane, filled again by each refusal, a row a pane (`<name>: Modified`) and the `Exit again to discard` line; the notice is short, `3 unsaved panes — Exit again to discard`. The 9P `unsaved` records and the write's err are as they were. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.zig b/src/config.zig
index 2b5bf280..e96d73be 100644
--- a/src/config.zig
+++ b/src/config.zig
@@ -450,6 +450,7 @@ pub const config_buffer = "+Config";
pub const effect_code_buffer = "+EffectCode";
pub const jumps_buffer = "+Jumps";
pub const recent_buffer = "+Recent";
+pub const unsaved_buffer = "+Unsaved";
pub const themes_buffer = "+Themes";
pub const fonts_buffer = "+Fonts";
pub const pdf_sections_buffer = "+PdfSections";