Arrow keys wipes our everything typed in command line!

Resolved 💬 3 comments Opened Apr 25, 2025 by Kalinovych Closed Apr 25, 2025
💡 Likely answer: A maintainer (LuciNyan, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.1.2504221401

Which model were you using?

o4-mini

What platform is your computer?

MacOS, M1

What steps can reproduce the bug?

Type anything in command line and press arrow up - wipes everything typed and show previous message for some useless reason.

What is the expected behavior?

When I press arrows up/down - nothing happens. There is 0 reasons to show previous msg. Or for those special smart people it should at least remember what was typed and restore it with arrows down!

What do you see instead?

_No response_

Additional information

If you wanna show off with a feature, finish it before shipping.

View original on GitHub ↗

3 Comments

LuciNyan contributor · 1 year ago

Would you mind providing the specific steps to reproduce this issue? I wasn't able to replicate it. 🤔

Kalinovych · 1 year ago

MacOS Terminal:

> codex
> read the docs
> here you may write your detailed task for an agent to do and press arrow Up on the keyboard
tibo-openai collaborator · 1 year ago

This should be fixed in https://github.com/openai/codex/pull/654 and will be part of the next release