docs: update the swipe limits and note what pauses or replaces a swipe

Merge-time fix for #674: the mobile-handlers.js @fileoverview still
gave the old 300 ms and 100 px limits (now 500 ms and 50 px), and the
Mobile Guide now says a visible text selection pauses the swipe and a
terminal wider than the screen pans instead of switching.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Codeman maintainer committed 2026-10-22 19:18:51 +02:00
1 parent 6fb9c4ed8a
commit a198b815d2
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -37,7 +37,8 @@ a bottom sheet rather than a dropdown. On a folding phone (iPhone Duo) dialogs s
the hinge, and opening or closing the device is treated as the device changing shape, never the hinge, and opening or closing the device is treated as the device changing shape, never
as the keyboard appearing. as the keyboard appearing.
**Swipe left and right** on the terminal to switch sessions. **Swipe left and right** on the terminal to switch sessions. A visible text selection pauses
the swipe, and a terminal wider than the screen pans sideways instead of switching.
## The home screen ## The home screen
+1 -1
View File
@@ -9,7 +9,7 @@
* toolbar/accessory bar repositioning, terminal resize on keyboard open/close, * toolbar/accessory bar repositioning, terminal resize on keyboard open/close,
* and input scroll-into-view. Uses 100px threshold for iOS address bar drift. * and input scroll-into-view. Uses 100px threshold for iOS address bar drift.
* - SwipeHandler — Horizontal swipe detection on the terminal area for session switching. * - SwipeHandler — Horizontal swipe detection on the terminal area for session switching.
* 80px minimum distance, 300ms maximum time, 100px max vertical drift. * 80px minimum distance, 500ms maximum time, 50px max vertical drift.
* *
* All three have init()/cleanup() lifecycle methods. They are re-initialized after SSE * All three have init()/cleanup() lifecycle methods. They are re-initialized after SSE
* reconnect (in handleInit) to prevent stale closures. * reconnect (in handleInit) to prevent stale closures.