0.98.0 breaks scrolling when running over ssh with iOS client apps
What version of Codex CLI is running?
0.98.0
What subscription do you have?
ChatGPT Pro
Which model were you using?
Any
What platform is your computer?
Multiple: Ubuntu 22 and 24 and MacOS, but the issue is not related to the computers codex is running on.
What terminal emulator and version are you using (if applicable)?
iOS ssh client apps
What issue are you seeing?
In Codex CLI version 0.96.0 and earlier, it was possible to use an SSH client or terminal app on a mobile device, parentheses iOS in my case, on parentheses, to connect remotely to a computer and run Codex remotely and use it perfectly well over a remote connection on a mobile device. As of version 0.98.0, this is broken because of changes to the user interface, which make it very difficult to scroll back and see the model's response on any of the iOS apps. It seems that only one “view port-worth” of output is visible and scrolling back normally reveals only what was in the terminal prior to running codex. I've tried, including Terminus, BlinkShell, Shelly, WebSSH, and several others. It's still possible to use the transcript mode, but that requires slowly scrolling back by holding an arrow key in all of these cases. Running it in tmux and using copy mode helps a little bit, but It still requires keystrokes and is slower and clunkier than normal inertial scrolling, which was working just fine before. It would be ideal if the Codex CLI would just work anywhere a terminal works. For a more elaborate user interface on a desktop, the Codex app will be a better choice. It was very useful to be able to control my remote computer using codex from my phone, and it is unfortunate that this is now much more difficult.
What steps can reproduce the bug?
Run Kodak over an SSH connection using any mobile SSH client app and try to scroll back.
What is the expected behavior?
Initial scrolling should work to show previous terminal output from codex.
Additional information
_No response_
20 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Confirming that none of these potential duplicates are actual duplicates.
I'm facing the same issue. I'm often using Termius on Android.
In previous versions, zooming in/out sometimes gave me a little more context. With the current version (v0.98.0) it messes up the layout adding extra empty lines and removing usefull context.
I also have the same issue using Termius on the IPad. Works fine on my desktop, but cannot effectively use on iOS.
Same here!
Uh did this never get fixed?? Cause iOS + terminus is having this issue
Same issue here. It’s annoying and slows me way down. This is a termius issue. I do not have this issue with WebSSH on iOS/ipados so I switched to it and canceled my subscription to termius since it was taking so long to fix. If any termius devs are reading this…. You’re losing customers.
I don't think this is a Codex issue. Please report the problem to the maintainers of termius.
Claude code has no issue
This issue should not be closed this is a codex issue. Claude code does not have it.
I do not use terminus. I tested essentially every iOS ssh client and codex cannot scroll back in any of them. Using transcript mode with control+T is the only way but that transcript is then choked with the full output of every tool call essentially and it's extremely slow to scroll, so it becomes impossible to read back through assistant messages. Codex was able to scroll back normally in earlier codex versions in the same ssh client apps. I strongly believe it is a codex issue. That said, if we are getting a mobile codex app, it may be moot...
Agreed - I switched to OpenCode which has this issue until switch to another app and switch back. But codex is much worse. It's not a terminus thing - I've tried other ssh clients.
I'm going to reopen, and we can take a look.
Thank you. Appreciated. Let us know if any more information is needed. If it is helpful my experience has been the same. This was introduced in a relatively recent version as I have been using codex on mobile for a while and didn't have this issue till 2026.
@VSai2314108, can you provide more details about your configuration? Which terminal emulator are you using? Which platform? Any special repro steps?
codex installed via npm on version 0.128.0. Using via terminus version 7.3.3 on an Iphone 16 Pro Max running IOS Version 18.7.3. Host device being sshd into is a hetzner server running boiler plate linux. Same issue also occurs if I ssh onto a macbook as a host. If you ask any question that exceeds one screen of reponse you can immediately see you can not scroll back up.
This bug is a good example of why "just run the TUI over mobile SSH" is a fragile mobile workflow. Even with tmux copy mode, the phone still has to behave like a real terminal, and the user has to fight scrollback, viewport state, and keystrokes just to read the agent output.
I built Faryo around the narrower alternative: keep Codex CLI running inside tmux as the live session, but do not make the phone render the raw TUI as the primary interface. The phone/browser side shows compact output and sends short input/approval/interrupt/handoff back to the same tmux-backed process. It is not a Codex CLI rendering fix, but it may be a useful workaround/comparison for the mobile SSH pain described here: https://github.com/Snailflyer/faryo
For people hitting this issue, would a compact mobile control surface over the same tmux session cover the real workflow, or do you specifically need full raw TUI scrollback to work on iOS SSH clients?
This is an unfortunate issue, makes codex quite difficult to use on iOS. Admittedly, probably a small userbase - but being able to code on the go is one of the big selling points of codex for me.
This is still a critical issue with seemingly no resolution. It is making it very hard to use codex remotely - basically impossible.
Still the issue persists. Had to switch to more basic ssh client (ServerCat) for it to work, but Termius had great shortcuts and was more convenient as terminal on daily use