Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/en/guides/interaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Kimi Code CLI runs as an interactive TUI with an input box, conversation view, a

## Input box basics

The input box accepts free-form text; pressing `Enter` sends, and `Shift-Enter` inserts a line break. When the input box is empty, press `↑` / `↓` to browse history for the current directory.
The input box accepts free-form text; pressing `Enter` sends, and `Shift-Enter` or `Ctrl-J` inserts a line break. When the input box is empty, press `↑` / `↓` to browse history for the current directory.

Press `Ctrl-D` twice to exit the CLI. `Ctrl-C` interrupts the current turn while streaming; press it twice in the idle state to exit. `Esc` closes dialogs and also interrupts a turn while streaming.

Expand Down
2 changes: 1 addition & 1 deletion docs/en/reference/keyboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The following keys are always available in the input box:
| Shortcut | Action |
| --- | --- |
| `Enter` | Submit the current input |
| `Shift-Enter` | Insert a newline in the input |
| `Shift-Enter` / `Ctrl-J` | Insert a newline in the input |
| `↑` / `↓` | Browse input history |
| `Esc` | Close popup / cancel completion / interrupt streaming output or an in-progress context compaction |
| `Ctrl-C` | Interrupt the current streaming output, or clear the input box |
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/guides/interaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Kimi Code CLI 以交互式 TUI 运行在终端中,核心是一个输入框、

## 输入框基本操作

输入框接受自由文本,按 `Enter` 发送,`Shift-Enter` 换行。输入框为空时按 `↑` / `↓` 可以浏览当前工作目录的输入历史。
输入框接受自由文本,按 `Enter` 发送,`Shift-Enter` 或 `Ctrl-J` 换行。输入框为空时按 `↑` / `↓` 可以浏览当前工作目录的输入历史。

按 `Ctrl-D` 两次退出 CLI。`Ctrl-C` 在流式输出中会中断当前轮次,空闲状态下连按两次退出。`Esc` 关闭弹窗,流式输出中也会中断轮次。

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/reference/keyboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Kimi Code CLI 的 TUI 交互模式支持以下键盘快捷键。键位主要在
| 快捷键 | 功能 |
| ------------- | ------------------------------------------- |
| `Enter` | 提交当前输入 |
| `Shift-Enter` | 在输入中插入换行 |
| `Shift-Enter` / `Ctrl-J` | 在输入中插入换行 |
| `↑` / `↓` | 浏览输入历史 |
| `Esc` | 关闭弹窗 / 取消补全 / 中断流式输出或正在进行的上下文压缩(compaction) |
| `Ctrl-C` | 中断当前流式输出,或清空输入框 |
Expand Down