Codex CLI in an Eclipse IDE terminal window doesn't allow backward scrolling. Also, running Codex with the --no-alt-screen option doesn't change anything.
I know the Eclipse terminal is scrollable and Codex CLI running in Windows cmd or powershell is scrollable.
So there must be some problem between Codex CLI and Eclipse terminal.
Steps to reproduce
- Open a terminal in eclipse IDE
- Start Codex CLI with or without --no-alt-screen (even setting "set TERM=dumb" before calling codex doesn't help)
- Give Codex the following prompt : write 50 rows (a enter b enter c etc...)
- Try scrolling backward and see if it appears
Tested under this environment:
- Windows Server 2019
- Eclipse IDE/Platform version Version: 2026-03 (4.39.0) Build id: 20260305-0817
- Codex Cli version 135
Workarounds
- Use the internal Codex transcript directrly in the Eclipse terminal running Codex TUI, activable with Ctrl+T
- fake codex to think it's running inside Zwellij:
For linux:
ZELLIJ=1 codex --no-alt-screen -c tui.raw_output_mode=true
For windows:
set ZELLIJ=1
codex --no-alt-screen -c tui.raw_output_mode=true
Codex CLI in an Eclipse IDE terminal window doesn't allow backward scrolling. Also, running Codex with the --no-alt-screen option doesn't change anything.
I know the Eclipse terminal is scrollable and Codex CLI running in Windows cmd or powershell is scrollable.
So there must be some problem between Codex CLI and Eclipse terminal.
Steps to reproduce
Tested under this environment:
Workarounds
For linux:
For windows: