← 返回更新日志

Pi v0.29.0

2025-12-25 · GitHub 原文
### 破坏性变更 - **将 `/clear` 重命名为 `/new`**:启动新会话的命令现在为 `/new`。Hook 事件原因 `before_clear`/`clear` 现已改为 `before_new`/`new`。圣诞快乐 [@mitsuhiko](https://github.com/mitsuhiko)! ([#305](https://github.com/badlogic/pi-mono/pull/305)) ### 新增功能 - **粘贴文件路径前自动添加空格**:在单词字符后粘贴文件路径(以 `/`、`~` 或 `.` 开头)时,会自动在路径前添加一个空格。([#307](https://github.com/badlogic/pi-mono/pull/307) by [@mitsuhiko](https://github.com/mitsuhiko)) - **输入框中的单词导航**:新增 Ctrl+←/→ 和 Alt+←/→ 快捷键,支持按单词移动光标。([#306](https://github.com/badlogic/pi-mono/pull/306) by [@kim0](https://github.com/kim0)) - **完整 Unicode 输入支持**:输入框现在支持输入 ASCII 之外的 Unicode 字符。([#306](https://github.com/badlogic/pi-mono/pull/306) by [@kim0](https://github.com/kim0)) ### 修复 - **类 Readline 的 Ctrl+W 行为**:在删除前一个单词前,会先跳过末尾的空格,以匹配标准 Readline 的行为。([#306](https://github.com/badlogic/pi-mono/pull/306) by [@kim0](https://github.com/kim0))