gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

[Bug] Automatic scrolling to input on iOS Termius prevents viewing previous content

Open kookyleo opened this issue 1 year ago • 17 comments

🐛 Problem Description

When using Gemini CLI in iOS Termius terminal, after Gemini outputs long text, users cannot scroll up to view previous content because the interface automatically scrolls back to the input field.

🔄 Steps to Reproduce

  1. Connect to Ubuntu server using iOS Termius app
  2. Launch Gemini CLI
  3. Ask Gemini to generate a long response (more than screen height)
  4. Try to scroll up with finger touch to view the beginning of the response
  5. Observe: Interface automatically scrolls back to input field

🎯 Expected Behavior

  • User should be able to scroll up and view previous content without interference
  • Auto-scroll to input should only happen when user actually types something
  • Touch scrolling should not trigger focus recovery

📱 Environment

  • Device: iOS (iPhone/iPad)
  • Terminal App: Termius
  • Connection: SSH to Ubuntu server
  • Gemini CLI Version: 0.8.0-nightly.20250925.b1da8c21

✅ Test Results

Platform Terminal Status
macOS iTerm2 ✅ Works correctly
Linux Desktop (Fedora 42/Sway) Foot ✅ Works correctly
iPad Termius ❌ Issue exists
iOS Termius ❌ Issue exists

Preliminary Conclusion: Based on limited testing, the issue appears to be specific to Termius on iOS/iPadOS platforms. Desktop terminals work as expected. More comprehensive testing across different terminal apps and platforms is needed.

🎨 User Impact

  • Affected Users: iOS/iPadOS Termius users (potentially other mobile terminal users)
  • Severity: Medium - significantly impacts UX but doesn't break core functionality
  • Workaround: Currently none available

kookyleo avatar Oct 01 '25 16:10 kookyleo

Have scrolling issue in Linux too. Not sure if this is related. A few points:

  1. Happens on edit or write file, but only if I show all the changes with Ctrl+S.
  2. The bug started on 0.8.0-preview.1, everything worked fine in previos preview version.
  3. Tried guake and kitty terminals.

Suor avatar Oct 02 '25 03:10 Suor

This issue has been automatically marked as stale due to 60 days of inactivity. It will be closed in 14 days if no further activity occurs.

github-actions[bot] avatar Dec 04 '25 02:12 github-actions[bot]

Same happens to me when I scroll Claude Code or gemini session. It gets back to the bottom, or input carret. It might be related to Termius actually

Kraxi avatar Dec 10 '25 18:12 Kraxi

Hello! As part of our effort to keep our backlog manageable and focus on the most active issues, we are tidying up older reports.

It looks like this issue hasn't been active for a while, so we are closing it for now. However, if you are still experiencing this bug on the latest stable build, please feel free to comment on this issue or create a new one with updated details.

Thank you for your contribution!

gemini-cli[bot] avatar Jan 04 '26 00:01 gemini-cli[bot]

I'm hitting this issue too with Claude Code. It's making me consider alternatives

robynsmith avatar Jan 07 '26 13:01 robynsmith

Still exists using codex in terminal.

jokajoka4 avatar Feb 07 '26 15:02 jokajoka4

same issue. ios using codex

lylepratt avatar Feb 08 '26 03:02 lylepratt

Co-sign the continuing issue on iOS, which is becoming a dealbreaker for me

wheelerchris avatar Feb 20 '26 06:02 wheelerchris

I have the issue too on codex. This makes the use of codex in Termius iOS via Tailscale completely blocking and problematic

TechaY avatar Feb 26 '26 00:02 TechaY

Also experiencing this—on iPad using codex on tailscale + ssh to tmux

adellhk avatar Mar 14 '26 20:03 adellhk

At least for me, with Tailscale -> ssh -> tmux -> Claude Code, the issue was mostly tmux. I was having trouble getting it to honor the set -g mouse on in .tmux.conf. I was able to work around by using tmux control + B menu to enable setting the set -g mouse on command directly (from a laptop session, but probably possible in Terminus directly). After this tmux does allow touch scrolling in Terminus (not by smooth scrolling in the app but using tmux's internal scroll back.

spectralglitch avatar Mar 15 '26 01:03 spectralglitch

Same here. It’s annoying and slows me way down. I do not have this issue with WebSSH so I switched to it and canceled my subscription to termius since it was taking so long to fix. This is a termius issue.. If you are reading this termius devs…. You’re losing customers.

CaldwellOne avatar Apr 03 '26 12:04 CaldwellOne

At least for me, with Tailscale -> ssh -> tmux -> Claude Code, the issue was mostly tmux. I was having trouble getting it to honor the set -g mouse on in .tmux.conf. I was able to work around by using tmux control + B menu to enable setting the set -g mouse on command directly (from a laptop session, but probably possible in Terminus directly). After this tmux does allow touch scrolling in Terminus (not by smooth scrolling in the app but using tmux's internal scroll back.

set -g mouse on in tmux.conf also worked for me! haha coincidentally also using Termius -> tailscale -> ssh -> tmux -> codex

adellhk avatar Apr 03 '26 22:04 adellhk

having this issue as well, please fix! using termius on ipad to control openclaw tui

laughingdemons avatar Apr 06 '26 17:04 laughingdemons

This is buggy engineering. I will switch to Webssh by the weekend. Thank you for your attention in this matter.

wolfgangfelix avatar Apr 15 '26 09:04 wolfgangfelix

WebSSH it is then!

TheRealBenForce avatar Apr 28 '26 23:04 TheRealBenForce

This inability to scroll back is the biggest issue with Termius.

alistairwalsh avatar May 29 '26 06:05 alistairwalsh