From 63983ab4b235fb2b6617e8d055e644e0e986d8fd Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 30 Sep 2026 19:54:01 -0300 Subject: Every setting's bad-value refusal names what it takes: InactiveDim 0-100, MessageLinger 0-60000 milliseconds, a path's limit, a font's form A setting that chooses among words named them, but one that takes a number, a path or a font said only "bad value" over 9P and "does not take that value" from a tag, leaving the range to be guessed. The refusal, both ways, now says its range or what it takes, from one table beside the words. Co-Authored-By: Claude Opus 5.5 --- src/Messages.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Messages.zig') diff --git a/src/Messages.zig b/src/Messages.zig index 3eeb8c92..a316377a 100644 --- a/src/Messages.zig +++ b/src/Messages.zig @@ -876,7 +876,7 @@ test "a builtin announces itself on the message row, and Verbose silences it" { // A value it does not take is said, in place of the announcement. const wrapped = p.settings.wrap; try std.testing.expect(p.executeBuiltinLine(p.active, "Wrap maybe")); - try std.testing.expectEqualStrings("Wrap: takes on or off", pane.msg[0..pane.msg_len]); + try std.testing.expectEqualStrings("Wrap: takes on, off", pane.msg[0..pane.msg_len]); try std.testing.expectEqual(wrapped, p.settings.wrap); // The notice list is what the paint pass reads, so the announcement has to -- cgit v1.3