Skip to content

fix(tui): switch theme appearance with arrow keys - #330

Merged
hetaoBackend merged 1 commit into
mainfrom
fix/theme-appearance-arrow-keys
Sep 23, 2026
Merged

hetaoBackend merged 1 commit into
mainfrom
fix/theme-appearance-arrow-keys

Conversation

@hetaoBackend

@hetaoBackend hetaoBackend commented Sep 23, 2026

Copy link
Copy Markdown
Collaborator

Change

The /theme picker now uses Left and Right to move between Light, Auto, and Dark appearance choices. The selection stops at either end, and a no longer changes appearance. The footer shows the arrow-key control.

Validation

  • pnpm exec vitest run --config vitest.oss.config.mjs packages/tui/test/unit/tui/features/settings/theme-picker.test.ts — 12 passed.
  • pnpm verify on d3ffa734e15254634075c01f54d23dccdc8bbbf2 — 14 gates passed on macOS.
  • git diff origin/main...HEAD --check — passed.
  • Performance: basic PR suite; perf:full is not required for this picker-only input change.
  • NOT RUN: Windows/Linux, a manual terminal interaction, and live-service testing.

Publication and contribution checks

  • I have permission to contribute these changes under the existing licenses applicable to the changed files/packages; no imported material is included.
  • No credentials, account data, real user content, internal source history or private review material is included.
  • No source files were added or removed; no test-suite registration or inventory update is needed.
  • The picker footer documents the new keys; shared documentation and capability records do not require changes. Offline results are not described as live-service acceptance.

Maintainer handoff

Publication scope or license changes: none.

Shared-source port: pending; this PR changes only the public TUI picker.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@hetaoBackend hetaoBackend added bug Something isn't working tui Interactive terminal UI (TUI) cli Standalone mcode: TUI, headless, ACP and source builds/tooling labels Sep 23, 2026
@hetaoBackend
hetaoBackend merged commit 944e874 into main Sep 23, 2026
16 checks passed
@hetaoBackend
hetaoBackend deleted the fix/theme-appearance-arrow-keys branch September 23, 2026 06:30
weekbin added a commit to mcode-webui/minimax-code-web that referenced this pull request Sep 23, 2026
Sync MiniMax-AI/minimax-code main through 944e874 (MiniMax-AI#330):

- fix(tui): dismiss interrupted duration on the submit frame (MiniMax-AI#329)
- fix(tui): switch theme appearance with arrow keys (MiniMax-AI#330)

No conflicts; no file unique to this fork is touched.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working cli Standalone mcode: TUI, headless, ACP and source builds/tooling tui Interactive terminal UI (TUI)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant