Support mouse-click cursor positioning in the Codex CLI prompt

Open 💬 2 comments Opened Aug 1, 2026 by yibosun1

What variant of Codex are you using?

CLI

What feature would you like to see?

Claude Code allows users to click within the input text to reposition the cursor, but Codex CLI currently requires keyboard navigation.

This makes editing long prompts—especially changing text in the middle—slow and inconvenient.

Please add mouse-click cursor positioning in the Codex CLI prompt editor, similar to Claude Code.

Environment:

  • OS: Windows
  • Codex CLI: 0.146.0

Additional information

_No response_

View original on GitHub ↗

2 Comments

johnaweiss · 24 days ago

Embedding micro text editor instead of vim is a desirable solution
https://github.com/openai/codex/issues/36711

Another benefit of micro: ENTER key won't submit, which will prevent accidental submits.

vladrudn · 2 days ago

I would really appreciate this feature as well. I frequently work with long prompts in Codex CLI, and repositioning the cursor with arrow keys is significantly slower than simply clicking at the desired position.