diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-05 11:17:05 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 15:12:36 -0300 |
| commit | 65b838b9b441a7ce1810f979216ff9246d63df72 (patch) | |
| tree | 34ea0b5c65781759058846c3a534ebcf6f34ece2 /src/config.zig | |
| parent | a28b37fb04566c36759edab0da7b1f98dffa6808 (diff) | |
| download | pardes-65b838b9b441a7ce1810f979216ff9246d63df72.tar.gz pardes-65b838b9b441a7ce1810f979216ff9246d63df72.zip | |
effects out, the terminal's own: JumpTrail, ChipShadow and ThumbFlash go with their passes in src/tui/panel_compositor.zig, their three tests, their words and settings, and the tty's COLORTERM check, which only they read
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/config.zig')
| -rw-r--r-- | src/config.zig | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/config.zig b/src/config.zig index c8ba76bd..3c8e25de 100644 --- a/src/config.zig +++ b/src/config.zig @@ -171,9 +171,6 @@ pub const leader_path = paths: { if (builtins.capabilities.lift) table.set(.HoverGlow, null); if (builtins.capabilities.lift) table.set(.Occlusion, null); if (builtins.capabilities.lift) table.set(.Parallax, null); - table.set(.JumpTrail, null); - table.set(.ChipShadow, null); - table.set(.ThumbFlash, null); table.set(.ProgramEsc, null); if (builtins.capabilities.lift) table.set(.Lift, null); table.set(.Motion, null); @@ -765,17 +762,6 @@ pub const Runtime = struct { /// G13: a theme's page pattern under the bodies (lapis's dots) moves /// with the text at a quarter of its speed, a pixel shell's. parallax: bool = false, - /// G14: text that changes glows for a moment in the theme's accent and - /// fades, a pixel shell's. - /// T2: in a terminal, a jump of the cursor leaves a short trail that - /// fades in 120 ms (a truecolor terminal's; a pixel shell glides). - jump_trail: bool = false, - /// T1: in a terminal, a notice chip casts a cell's shadow right and - /// down (truecolor terminals). - chip_shadow: bool = false, - /// T7: in a terminal, a pane's scroll thumb brightens as it scrolls and - /// fades back (truecolor terminals). - thumb_flash: bool = false, /// In a raw terminal, Esc goes to the program and Shift-Esc backs out /// (off, the default: Esc backs out and Shift-Esc is the program's). program_esc: bool = false, @@ -932,7 +918,7 @@ pub const Runtime = struct { /// The message timings a setting word sets, each in milliseconds. pub const MessageTime = enum { linger, fall, dissolve }; - pub const Toggle = enum { colors, wrap, tree_context_tag_style, tag_bottom, debug, focus_tint, syntax_bold, pager_color, verbose, message_animation, ligatures, cursor_blink, selection_glow, hover_glow, occlusion, parallax, jump_trail, chip_shadow, thumb_flash, program_esc }; + pub const Toggle = enum { colors, wrap, tree_context_tag_style, tag_bottom, debug, focus_tint, syntax_bold, pager_color, verbose, message_animation, ligatures, cursor_blink, selection_glow, hover_glow, occlusion, parallax, program_esc }; pub const Action = union(enum) { toggle: Toggle, @@ -1008,9 +994,6 @@ pub const Runtime = struct { .{ .word = "HoverGlow", .action = .{ .toggle = .hover_glow }, .doc = "A soft underline of light under the word a look-hover would open, on or off." }, .{ .word = "Occlusion", .action = .{ .toggle = .occlusion }, .doc = "Pane bodies darken faintly toward their edges, on or off." }, .{ .word = "Parallax", .action = .{ .toggle = .parallax }, .doc = "A theme's page pattern moves with the text at a quarter of its speed, on or off." }, - .{ .word = "JumpTrail", .action = .{ .toggle = .jump_trail }, .doc = "In a terminal, a jump of the cursor leaves a short trail that fades, on or off." }, - .{ .word = "ChipShadow", .action = .{ .toggle = .chip_shadow }, .doc = "In a terminal, a notice chip casts a cell's shadow right and down, on or off." }, - .{ .word = "ThumbFlash", .action = .{ .toggle = .thumb_flash }, .doc = "In a terminal, a pane's scroll thumb brightens as it scrolls and fades back, on or off." }, .{ .word = "ProgramEsc", .action = .{ .toggle = .program_esc }, .doc = "In a raw terminal, Esc goes to the program and Shift-Esc backs out, on; off (the default) swaps them." }, .{ .word = "Lift", .action = .lift, .doc = "How the focused pane stands off the page: off, shadow, rim or auto." }, .{ .word = "Motion", .action = .motion, .doc = "How animations move: off, crisp, smooth, bouncy or playful." }, |
