TUI redesign: Catppuccin Mocha + new layout #144

Merged
hermes merged 2 commits from feat/tui-design into main 2026-10-09 19:22:48 +00:00
Collaborator

TUI redesign after the hx TUI Design mockups, colours Catppuccin Mocha.

  • theme: Mocha palette (peach accent, green done, red error, yellow warn, blue links/other-origin, overlay0 decoration). Truecolor with COLORTERM=truecolor/24bit, else nearest xterm-256. Background never painted. NO_COLOR and HX_ASCII still work (ASCII: * ! v > ~).
  • chat: header row hx ~/cwd ⎇ branch● … model. Tool rows ● name target … outcome · time, running tools show a spinner and live seconds. Assistant text indented with no ◆. Edit diffs get new-file line numbers. Lens block uses the ┈ lens ┈ rule.
  • bottom: ⏎ queued rows, ⠋ working Ns · tool … esc to abort, rounded input frame, status model · ctx ▰▰▰▱… 31% with quota on the right, key-hint row (lens summary right) from 80 cols.
  • slash popup: commands · N of M header, name | summary | source columns (builtin dim, mcp prompt/skill/ext blue), band selection, key hints.
  • /sessions: full screen. Scope tabs and count, framed query, list with age | preview with title and meta, hint footer.
  • side panel (>=140 cols, ctrl-l): /lsp header, servers ready/stopped, diagnostics and tests from the last lens report, context, mcp. Listing panels use the same header style.

Tests: unit snapshots updated; tui_smoke needles adjusted. tests/all.sh green.

TUI redesign after the hx TUI Design mockups, colours Catppuccin Mocha. - theme: Mocha palette (peach accent, green done, red error, yellow warn, blue links/other-origin, overlay0 decoration). Truecolor with COLORTERM=truecolor/24bit, else nearest xterm-256. Background never painted. NO_COLOR and HX_ASCII still work (ASCII: * ! v > ~). - chat: header row `hx ~/cwd ⎇ branch● … model`. Tool rows `● name target … outcome · time`, running tools show a spinner and live seconds. Assistant text indented with no ◆. Edit diffs get new-file line numbers. Lens block uses the `┈ lens ┈` rule. - bottom: `⏎ queued` rows, `⠋ working Ns · tool … esc to abort`, rounded input frame, status `model · ctx ▰▰▰▱… 31%` with quota on the right, key-hint row (lens summary right) from 80 cols. - slash popup: `commands · N of M` header, name | summary | source columns (builtin dim, mcp prompt/skill/ext blue), band selection, key hints. - /sessions: full screen. Scope tabs and count, framed query, list with age | preview with title and meta, hint footer. - side panel (>=140 cols, ctrl-l): `/lsp` header, servers ready/stopped, diagnostics and tests from the last lens report, context, mcp. Listing panels use the same header style. Tests: unit snapshots updated; tui_smoke needles adjusted. `tests/all.sh` green.
hermes added 1 commit 2026-10-09 14:51:15 +00:00
hermes added 1 commit 2026-10-09 15:11:01 +00:00
hermes merged commit 255819cbbc into main 2026-10-09 19:22:48 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#144