diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-30 19:54:01 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:17 -0300 |
| commit | 63983ab4b235fb2b6617e8d055e644e0e986d8fd (patch) | |
| tree | a85df139318fa81500e9d1dd38a0b802f0a2f0db /src/Messages.zig | |
| parent | 872294ece905b8b5336e01ec3ce3f5420cd35b50 (diff) | |
| download | pardes-63983ab4b235fb2b6617e8d055e644e0e986d8fd.tar.gz pardes-63983ab4b235fb2b6617e8d055e644e0e986d8fd.zip | |
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 <[email protected]>
Diffstat (limited to 'src/Messages.zig')
| -rw-r--r-- | src/Messages.zig | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
