Files
Nexus/docs/changelog/2026-06-08-webssh-classic-terminal-theme.md
T
Nexus Agent 835ef2c8ea
Nexus CI/CD / test (push) Waiting to run
Nexus CI/CD / deploy (push) Blocked by required conditions
Nexus Pre-commit Checks / quick-check (push) Waiting to run
fix(terminal): WebSSH 固定黑底白字 ANSI 终端配色
不再跟随 Vuetify 浅色主题,xterm 始终使用经典黑底白字与 16 色输出。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-08 12:09:00 +08:00

25 lines
675 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 2026-06-08 — WebSSH 终端固定黑底白字 ANSI 配色
## 摘要
WebSSH xterm 不再跟随 Vuetify 浅色主题,固定经典黑底白字 + 16 色 ANSI。
## 动机
浅色模式下终端呈白底深字,不符合 SSH 终端习惯;用户要求黑底白字带字符颜色。
## 涉及文件
- `frontend/src/composables/terminal/xtermTheme.ts`(新增)
- `frontend/src/composables/terminal/useTerminalSessions.ts`
- `frontend/src/pages/TerminalPage.vue`
- `frontend/src/components/terminal/TerminalArea.vue`
## 验证
```bash
cd frontend && npm run build
```
浏览器:终端页连接 SSH`ls --color=auto``grep --color` 等应显示彩色输出。