From d5743f2a58a03539d3c34bee3b2ad18b96b2da55 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 29 Sep 2026 10:44:30 -0300 Subject: A refusal over unsaved panes keeps its list in +Unsaved and shows a short notice MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 (`: 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 --- src/config.zig | 1 + 1 file changed, 1 insertion(+) (limited to 'src/config.zig') 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"; -- cgit v1.3