Files
Nexus/docs/changelog/2026-06-08-webssh-classic-terminal-theme.md
T
2026-07-08 22:31:31 +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` 等应显示彩色输出。