mirror of
https://oauth2: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@github.com/m1ngsama/TNT.git
synced 2026-06-26 07:04:37 +08:00
Replace the four lines of `==` rules + bilingual title with a centred
rounded box so the eye lands on a single visual element instead of two.
The new tui_render_welcome():
- centres horizontally and vertically (about a third of the way down)
- shows TNT + version, then 中文 subtitle, then English caption with
decreasing visual weight (bold cyan / default / dim grey)
- falls back to a plain "TNT $version — anonymous chat over SSH" line
when the terminal is too narrow for the frame
- declared in tui.h, called from input.c read_username()
read_username()'s prompt becomes a single short bilingual hint
("请输入用户名 (留空 anonymous): ") that lives below the box.
|
||
|---|---|---|
| .. | ||
| .gitkeep | ||
| bootstrap.h | ||
| chat_room.h | ||
| client.h | ||
| commands.h | ||
| common.h | ||
| exec.h | ||
| input.h | ||
| message.h | ||
| ratelimit.h | ||
| ssh_server.h | ||
| tui.h | ||
| utf8.h | ||