Updated on 2026-07-27 GMT+08:00

Shortcut Keys

The previous section lists some shortcut keys corresponding to slash commands. The TUI development environment also supports built-in shortcut keys that you can use to operate the input information in the dialog box.

Table 1 Shortcut keys for operating prompts in the TUI dialog box

Shortcut Key

Operation

Ctrl+A

Moves the cursor to the beginning of the current line.

Ctrl+E

Moves the cursor to the end of the current line.

Ctrl+B

Moves the cursor one character to the left.

Ctrl+F

Moves the cursor one character to the right.

Windows/Linux: Alt+B

macOS: Option+B

Moves the cursor one word to the left.

Windows/Linux: Alt+F

macOS: Option+F

Moves the cursor one word to the right.

Ctrl+D

Deletes the character at the cursor position.

Ctrl+K

Deletes the content from the cursor position to the end of the line.

Ctrl+U

Deletes the content from the beginning of the line to the cursor position.

Ctrl+W

Deletes the previous word.

Windows/Linux: Alt+D

macOS: Option+D

Deletes the next word.

Ctrl+G

Goes to the first turn of the session.