diff --git a/codex-rs/README.md b/codex-rs/README.md index a8b5841d4a..eec1eaed2d 100644 --- a/codex-rs/README.md +++ b/codex-rs/README.md @@ -329,3 +329,21 @@ Currently, `"vscode"` is the default, though Codex does not verify VS Code is in ### project_doc_max_bytes Maximum number of bytes to read from an `AGENTS.md` file to include in the instructions sent with the first turn of a session. Defaults to 32 KiB. + +### tui + +Options that are specific to the TUI. + +```toml +[tui] +# This will make it so that Codex does not try to process mouse events, which +# means your Terminal's native drag-to-text to text selection and copy/paste +# should work. The tradeoff is that Codex will not receive any mouse events, so +# mouse scrolling will not work. +# +# Note that most terminals support holding down a modifier key when using the +# mouse to support text selection. For example, even if Codex mouse capture is +# enabled (i.e., this is set to `false`), you can still hold down alt while +# dragging the mouse to select text. +disable_mouse_capture = true # defaults to `false` +```