Codex CLI in an Eclipse IDE Terminal window doesn't allow backward scrolling (also with --no-alt-screen option)
Open 💬 4 comments Opened May 31, 2026 by stefano-1973
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex CLI is running?
codex-cli 0.135.0
What subscription do you have?
Managed from my enterprise
Which model were you using?
gpt-5.5
What platform is your computer?
Windows Server 2019
What terminal emulator and version are you using (if applicable)?
Terminal of Eclipse IDE
What issue are you seeing?
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.
Tested under this environment:
- Windows Server 2019
- Eclipse IDE/Platform version Version: 2026-03 (4.39.0) Build id: 20260305-0817
- Codex Cli version 0.135.0
What steps can reproduce the bug?
- 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
What is the expected behavior?
the ability to scroll-back in the Eclipse IDE terminal windows running Codex CLI
Additional information
Because the cause is Codex Cli only when used with Eclipse terminal (and vice-versa), I open also this: https://github.com/eclipse-platform/eclipse.platform/issues/2680
Workaround
- 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
4 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
It doesn't seem to me the same thing. My issue is a specific problem of interaction between Eclipse IDE terminal and Codex CLI.
The problem is present also if I start linux elipse in WSL2 ubuntu. Eclipse installed in wsl2 with "sudo snap install eclipse --classic"
Codex analisys
Even with
--no-alt-screen, Codex is still a raw-mode TUI application and does not emit output as simple line-by-line stdout. It uses terminal control sequences to redraw and insert history into the normal screen buffer. Eclipse Terminal may not be recording those screen-buffer updates into scrollback the same way other terminals do.So this could potentially be addressed either by: