From c83988458a9a1bf1096b2a1e041745cad3de337c Mon Sep 17 00:00:00 2001 From: Leonmmcoset Date: Thu, 26 Feb 2026 22:36:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/cmleonos/docs/commands.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/cmleonos/docs/commands.md b/docs/cmleonos/docs/commands.md index aff57f6..cf0bc56 100644 --- a/docs/cmleonos/docs/commands.md +++ b/docs/cmleonos/docs/commands.md @@ -777,6 +777,14 @@ shutdown cuitest ``` +### testtui +测试 TUI 框架。 + +**用法:** +```bash +testtui +``` + ### testgui 测试图形界面。 @@ -812,8 +820,8 @@ snake **说明:** - 使用方向键 (↑ ↓ ← →) 控制蛇的移动 - 按 ESC 或 Q 键退出游戏 -- 蛇身用绿色 ■ 表示 -- 食物用红色 ● 表示 +- 蛇身用绿色 # 表示 +- 食物用红色 O 表示 - 吃到食物得分 +10 分 - 撞到墙壁或自己身体游戏结束 - 游戏区域:40x20 字符