summaryrefslogtreecommitdiff
path: root/src/exec.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-01 23:20:19 -0300
committerGabriel Schneider <[email protected]>2026-10-01 23:22:39 -0300
commitdd6a3c2c367cee12a8e2da81e7da6a2c8f3103d5 (patch)
tree3c2acaf6836af9c52b7cfbf201a2c1b533512d10 /src/exec.zig
parente4562384ac910b78254ec7aaaecad8b74717f2ee (diff)
downloadpardes-dd6a3c2c367cee12a8e2da81e7da6a2c8f3103d5.tar.gz
pardes-dd6a3c2c367cee12a8e2da81e7da6a2c8f3103d5.zip
Round 39's small ones: a name write past its one line is refused by that write; Get and Edit's e load over a scratch under 100 bytes unasked, as Del closes it; Putall saves a Zerox pair once; bare Tab on the root ctl says the width as from a pane, and a ctl check of Tab no longer sets it; a directory read is "is a directory" (EISDIR), an unreadable file "permission denied" (EACCES), Incl of a file "not a directory" (ENOTDIR), and a device "not a regular file", never read to the stream limit
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/exec.zig')
-rw-r--r--src/exec.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exec.zig b/src/exec.zig
index d6834797..a5b6e506 100644
--- a/src/exec.zig
+++ b/src/exec.zig
@@ -1124,6 +1124,8 @@ pub fn applySettingBuiltin(p: *Pardes, setting: config.Runtime.Setting, arg: ?[]
return p.setMessage(p.active, std.fmt.bufPrint(&said, "Tab {d}", .{p.settings.tab}) catch "Tab");
} else if (!p.settings.apply(setting, arg)) {
p.reportFailure(p.active, "Tab: invalid tab width: takes " ++ comptime config.Runtime.takes(.tab).?);
+ } else {
+ config.tab_now = p.settings.tab;
},
// Said with what it takes: its words, its range.
else => if (!p.settings.apply(setting, arg)) {