claude-code-best/packages/@ant/ink/src
林凯90331 6b5b801dae fix(ink): treat newline as return and suppress favorite fetch error in TUI
Some terminals on CentOS emit \n or \r\n instead of \r for the Enter key.

Map both sequences to 'return' in parseKeypress so key.return is set correctly.

Replace console.warn with logForDebugging in favorite.ts to prevent

network errors from polluting the TUI output.

Signed-off-by: 林凯90331 <90331@sangfor.com>

Co-authored-by: CoStrict <zgsm@sangfor.com.cn>
2026-05-15 11:06:18 +08:00
..
components feat: 尝试改进 Error 处理以提升内存管理效率 2026-05-05 18:18:13 +08:00
core fix(ink): treat newline as return and suppress favorite fetch error in TUI 2026-05-15 11:06:18 +08:00
hooks style: 格式化 packages/@ant/ 下所有文件以通过 biome ci 2026-05-01 21:55:51 +08:00
keybindings style: 格式化 packages/@ant/ 下所有文件以通过 biome ci 2026-05-01 21:55:51 +08:00
theme chore: 合并社区 upstream/main 代码至 v2.4.2 2026-05-12 11:55:04 +08:00
types fix: 清理 main 分支的 stub .js 文件,恢复有 .ts 源文件的命令模块 2026-05-13 10:36:04 +08:00
utils Revert "Revert "feat: 第一个可以用的 ink 组件抽象 (#158)" (#175)" 2026-04-07 16:17:48 +08:00
index.ts style: 格式化 packages/@ant/ 下所有文件以通过 biome ci 2026-05-01 21:55:51 +08:00