Skip to content

feat(tui): esc opens a menu with settings, help and quit, frappe by default - #13

Merged
RealDoc06 merged 4 commits into
mainfrom
feat/esc-menu
Nov 20, 2026
Merged

RealDoc06 merged 4 commits into
mainfrom
feat/esc-menu

Conversation

@RealDoc06

@RealDoc06 RealDoc06 commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

esc in the chat list used to open the settings directly. It now opens a menu in the style of btop: the TG-CLI logo, the version under it, then Settings, Help and Quit. Settings is the box from before. Help lists the shortcuts, written the Mac way when Shortcuts is set to macOS. esc goes back one level, landing on the item you came from. Items can be clicked.

The default theme is now Catppuccin Frappé. A theme already saved in config.json stays. The site at tgc.li was styled in Mocha because Mocha was the default, so its palette moves to Frappé too, and the desktop screenshot and phone clip are retaken.

The empty pane's "select a chat and press enter" hint no longer shows through beside the box.

TUI

Before After
esc-before menu-after

Settings and Help, opened from the menu:

Settings Help
settings-after help-after

Site

Before After
site-before site-after
shot-before shot-after

Phone clip, after:

phone-after

Created with Claude Opus 5.5 in Claude Code, running in T3 Code.

🤖 Generated with Claude Code

Note

Replace TUI settings menu with Esc-opened panel menu; default theme to Frappé

  • Esc in the chat list now opens a multi-page panel menu with Settings, Help, and Quit items, replacing the standalone settings menu (panel.go). Menu navigation uses Up/Down, k/j, Tab, and Enter or Space to pick an item; Esc or q goes back or closes the panel.
  • Settings definitions and handlers moved from settings.go into panel.go, driven by the new panel state.
  • Clicking a panel item picks it; clicking elsewhere closes the panel. Mouse-wheel scrolling is ignored while a panel is open.
  • The main menu shows a block-character logo with gradient colors when space allows; the Help page lists shortcuts with Mac-aware key labels.
  • Changes the default theme from Mocha to Frappé in theme.go, and updates the site palette and manifest colors to match.
  • Behavioral Change: Esc with a nonempty chat filter still resets the filter; only an empty filter opens the menu.

Macroscope summarized 1c6abbe.

RealDoc06 and others added 2 commits November 20, 2026 22:50
…efault

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Comment thread internal/tui/panel.go Resolved
@macroscopeapp

macroscopeapp Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Approvability

Verdict: Approved at 1c6abbe

Macroscope's review found this PR approvable — Escape now opens a Settings, Help and Quit menu, and Frappé becomes the default theme with matching website colors. The changes remain confined to interface behavior and presentation while preserving existing preference saving.

You can add or adjust custom eligibility rules. Learn more.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comment thread internal/tui/panel.go Resolved
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@RealDoc06
RealDoc06 merged commit 6cfecce into main Nov 20, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant