diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-05 10:46:03 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 15:12:36 -0300 |
| commit | 11204e1206f7f7ffeaa861c1a442a312e563d3ed (patch) | |
| tree | f788736bf5b6a56694563b664b5db73bc54bff72 /src/exec.zig | |
| parent | c9b9dad8469f5d654c31d688d7e2d93da8325f39 (diff) | |
| download | pardes-11204e1206f7f7ffeaa861c1a442a312e563d3ed.tar.gz pardes-11204e1206f7f7ffeaa861c1a442a312e563d3ed.zip | |
effects out, the post chain: Crt, Bloom, Vignette, Grain, Shader and ShaderAnimation go with src/gui/Post.zig, src/ShaderBuild.zig (the run-time glslc spawn and its watched files), shaders/post/, post.vert, bloom-down and bloom-up and their prebuilt .spv, the window's scene texture and its post-chain-only redraw (level A), the disable_scene_effects tape site and Pardes.disableSceneEffects; EffectCode goes with src/effect_sources.zig, which only embedded the effects' sources (/virtual keeps src/); the corner-click test keeps its point without a chain, the window monkey loses its Bloom axis; macOS's post-processor (ScenePostprocessor.swift, crt.ci.metal, pardes_scene) is a change of its own
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/exec.zig')
| -rw-r--r-- | src/exec.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exec.zig b/src/exec.zig index 0c559382..b258549e 100644 --- a/src/exec.zig +++ b/src/exec.zig @@ -302,11 +302,11 @@ pub fn withArg(p: *Pardes, txt: []const u8, arg: ?[]const u8) []const u8 { const a = std.mem.trim(u8, arg orelse return txt, " \t\r\n"); if (a.len == 0) return txt; const t = std.mem.trim(u8, txt, " \t\r\n"); - // A switch (Verbose, PanelSlide, Crt) clicked with some other text + // A switch (Verbose, PanelSlide) clicked with some other text // selected flips, as it does bare: only `on` or `off` is an argument // for it. What a ctl write gives it is checked strictly instead. if (config.Runtime.find(commandText(t))) |setting| switch (setting.action) { - .toggle, .transition, .scene => if (!std.mem.eql(u8, a, "on") and !std.mem.eql(u8, a, "off")) return txt, + .toggle, .transition => if (!std.mem.eql(u8, a, "on") and !std.mem.eql(u8, a, "off")) return txt, else => {}, }; return std.fmt.allocPrint(p.scratch.allocator(), "{s} {s}", .{ t, a }) catch txt; |
