Skip to content

Commit dbe1f09

Browse files
committed
docs(tui): translate updated design guidance
1 parent 4e91397 commit dbe1f09

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.agents/skills/write-tui/DESIGN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@
8383
Select a model (type to search)
8484
Tab toggle provider · ↑↓ navigate · Enter select · Esc cancel ← hint 首项即 Tab 切换
8585
← 空行
86-
All Pythinker Code openai ← tab 条:激活项填充背景(selectionBg 底 + inverseText + bold),其余 textMuted
86+
All Pythinker Code openai ← tab bar: active uses selectionBg + inverseText + bold; others use textMuted
8787
← 空行
8888
❯ ...
8989
```
9090

9191
- tab 条位置:**在 hint 行下方**,且**上下各一空行**(与 hint、与列表都隔开)。
92-
- 激活 tab`chalk.bgHex(colors.selectionBg).hex(colors.inverseText).bold(\` ${label} \`)`;非激活:`chalk.hex(colors.textMuted)`。两者可见宽度一致,切换不抖动。
92+
- Active tab: `chalk.bgHex(colors.selectionBg).hex(colors.inverseText).bold(\` ${label} \`)`; inactive tab: `chalk.hex(colors.textMuted)`. Both have the same visible width.
9393
- 第一个 tab 恒为 `All`(聚合所有 provider);**默认停在 `All`**。仅当显式传 `initialTabId`(如 `/provider` 新增完跳转)才停在指定 provider tab。
9494
- `Tab` / `Shift+Tab` 循环切换;hint 行首项即 `Tab toggle provider`
9595
- 当前模型在所在 tab 内仍以 `` + ` ← current` 标记,切 tab 不丢失定位。

0 commit comments

Comments
 (0)