### 变更
- **底部显示**:Token 计数现在使用 M 后缀表示百万(例如,`10.2M` 代替 `10184k`)。上下文显示从 `61.3% of 200k` 缩短为 `61.3%/200k`。
### 修复
- **输入中的多键序列**:模型搜索等输入现在与主提示词编辑器一样处理多键序列。([#122](https://github.com/badlogic/pi-mono/pull/122) by [@markusylisiurunen](https://github.com/markusylisiurunen))
- **换行转义码**:修复了长 URL 换行时下划线样式渗透到内边距的问题。ANSI 代码现在正确附加到对应内容上,且行尾重置仅关闭下划线(保留背景颜色)。([#109](https://github.com/badlogic/pi-mono/issues/109))
### 新增
- **模型和会话的模糊搜索**:为模型和会话实现了简单的模糊搜索功能(例如,输入 `codexmax` 现在可以匹配到 `gpt-5.1-codex-max`)。([#122](https://github.com/badlogic/pi-mono/pull/122) by [@markusylisiurunen](https://github.com/markusylisiurunen))
- **提示词历史记录导航**:当编辑器为空时,可使用上下箭头键浏览之前提交的提示词。按上箭头键循环查看历史提示词,按下箭头键返回较新的提示词或清空编辑器。功能类似于 Shell 历史记录和 Claude Code 的提示词历史功能。历史记录为会话级,最多存储 100 条记录。([#121](https://github.com/badlogic/pi-mono/pull/121) by [@nicobailon](https://github.com/nicobailon))
- **`/resume` 命令**:在对话中途切换到其他会话。打开交互式选择器显示所有可用会话。功能等同于 `--resume` CLI 参数,但无需重启代理即可使用。([#117](https://github.com/badlogic/pi-mono/pull/117) by [@hewliyang](https://github.com/hewliyang))
### Changed
- **Footer display**: Token counts now use M suffix for millions (e.g., `10.2M` instead of `10184k`). Context display shortened from `61.3% of 200k` to `61.3%/200k`.
### Fixed
- **Multi-key sequences in inputs**: Inputs like model search now handle multi-key sequences identically to the main prompt editor. ([#122](https://github.com/badlogic/pi-mono/pull/122) by [@markusylisiurunen](https://github.com/markusylisiurunen))
- **Line wrapping escape codes**: Fixed underline style bleeding into padding when wrapping long URLs. ANSI codes now attach to the correct content, and line-end resets only turn off underline (preserving background colors). ([#109](https://github.com/badlogic/pi-mono/issues/109))
### Added
- **Fuzzy search models and sessions**: Implemented a simple fuzzy search for models and sessions (e.g., `codexmax` now finds `gpt-5.1-codex-max`). ([#122](https://github.com/badlogic/pi-mono/pull/122) by [@markusylisiurunen](https://github.com/markusylisiurunen))
- **Prompt History Navigation**: Browse previously submitted prompts using Up/Down arrow keys when the editor is empty. Press Up to cycle through older prompts, Down to return to newer ones or clear the editor. Similar to shell history and Claude Code's prompt history feature. History is session-scoped and stores up to 100 entries. ([#121](https://github.com/badlogic/pi-mono/pull/121) by [@nicobailon](https://github.com/nicobailon))
- **`/resume` Command**: Switch to a different session mid-conversation. Opens an interactive selector showing all available sessions. Equivalent to the `--resume` CLI flag but can be used without restarting the agent. ([#117](https://github.com/badlogic/pi-mono/pull/117) by [@hewliyang](https://github.com/hewliyang))