diff options
| author | t <t@tjp.lol> | 2026-06-08 14:48:33 -0600 |
|---|---|---|
| committer | t <t@tjp.lol> | 2026-06-08 19:56:47 -0600 |
| commit | 104001d25c9c8cb5ec45ced1678f7c7b70888808 (patch) | |
| tree | e0fd9d5c89e953dd9db9253b87be8426e56d63f1 /src/tui_theme.zig | |
| parent | b5eb3f1776a540a55d5675f786a4421c49a6283d (diff) | |
keybinding fixes
Diffstat (limited to 'src/tui_theme.zig')
| -rw-r--r-- | src/tui_theme.zig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/tui_theme.zig b/src/tui_theme.zig index 1acbca0..168b4f4 100644 --- a/src/tui_theme.zig +++ b/src/tui_theme.zig @@ -41,6 +41,13 @@ pub const StyleName = enum { cursor, /// Error / retry text. err, + /// Welcome banner accent (session start chrome). + welcome, + /// Thinking block body (dimmed, distinct entry so the taxonomy is honest + /// even though it currently resolves to the same dim escape). + thinking, + /// Compaction-summary chrome. + compaction, }; /// A resolved style: the opening escape and (implicitly) the `reset` close. @@ -104,6 +111,12 @@ fn styleFor(name: StyleName) Style { // Reverse video — the virtual cursor block. .cursor => .{ .open_seq = "\x1b[7m" }, .err => .{ .open_seq = "\x1b[31m" }, + // Welcome banner: cyan accent, matching the tool accent family. + .welcome => .{ .open_seq = "\x1b[36m" }, + // Thinking body: dimmed, like status chrome. + .thinking => .{ .open_seq = "\x1b[2m" }, + // Compaction chrome: dimmed. + .compaction => .{ .open_seq = "\x1b[2m" }, }; } |
