Skip to content

Fix mobile terminal soft keyboard input - #129

Merged
rawkintrevo merged 2 commits into
mainfrom
issue-111-default-runner-mobile-input
Jun 24, 2026
Merged

Fix mobile terminal soft keyboard input#129
rawkintrevo merged 2 commits into
mainfrom
issue-111-default-runner-mobile-input

Conversation

@rawkintrevo

Copy link
Copy Markdown
Owner

Summary

Fixes #111.

This changes the runner-served xterm page so Mapache only applies visual hiding to xterm's helper textarea. The wrapper no longer forces that textarea offscreen, zero-sizes it, or clears its value on key/input events. xterm keeps ownership of helper textarea geometry and value state, which mobile soft keyboards and composition input rely on.

Root cause

The issue 97 helper-textarea cleanup was too aggressive for mobile browsers. Desktop Enter/hardware key paths still reached the PTY, but Android soft-keyboard printable characters depend on xterm's hidden textarea state.

Validation

  • npm --prefix session-runner test
  • npm --prefix session-runner run lint
  • npm run docs:check
  • User verified Android mobile input against the rebuilt default runner image

Runner images pushed

  • latest: sha256:f5683095aaabdbfcfb25c56c9e33f66549dee33ebd5aa172d5023051abad056a
  • pi-basic: sha256:b628cdce272c1ef7b508f9f39728c37293bdb5a750b055e616083a770ab69e31
  • codex-basic: sha256:63177d17e0c139e98f5fa92e269efd1cad0ce91a17a31d42301650fe567d2a75
  • pi-web: sha256:c3f91271dbf980ab1362bafb2e9b385e5254983c4a30e85177e3675f99141bfa
  • codex-web: sha256:c9ea54b0d50f60533d5829967a8a9d924b0407c6179b07774a99a1e26913aace
  • pi-n64: sha256:803214a295d65942c3a7ecce977ab22356a0e0f4be09e296172a96e4342e5a67

Existing running sessions need a new session or runner revision to pick up the rebuilt images.

@rawkintrevo
rawkintrevo marked this pull request as ready for review June 24, 2026 13:49
@rawkintrevo
rawkintrevo merged commit de66b46 into main Jun 24, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mobile SSH devbox runner only sends Enter, not keystrokes

1 participant