Repository navigation
Conversation
The phone's key row held esc, tab and the four modifiers only: no arrows without a hardware keyboard. It is now one row of ten caps that scrolls sideways, as the window thumbnails above it do: esc, tab, ctrl, opt, cmd, shift, then left, down, up, right. Six caps fit whole and over half of the left arrow shows past shift, its chevron fading out at the edge, so the row says there is more; a swipe brings the arrows in beside cmd and shift (shift-arrow and option-arrow within reach), and the first caps fade at the left edge once scrolled. It stops with a cap at the leading edge. The row keeps its 44 pt, so the picture, the strip and the trackpad do not move (PhonePortraitLayout unchanged; phone-portrait passes as it was). The caps are 49 pt wide on a 402 pt phone (were 56) and 37 pt at 320 pt. The arrows hold and repeat as the iPad's do (HeldCap, Saffsanity#162). The scroll view holds a touch back before it becomes a press, so a swipe that starts on esc or an arrow should scroll without sending the key; a quick tap is still one press (HeldCap.activated). DEBUG: -SillKeyScroll end. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 6, 2026
Open
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #287.
What it does
On an iPhone held upright, the key row had esc, tab and the four modifiers but no arrow keys, so arrows needed a hardware keyboard. The row now scrolls sideways like the window thumbnails above it:
esc tab ctrl opt cmd shift ← ↓ ↑ →.PhonePortraitLayoutis unchanged andphone-portraitpasses as before. Each key is a little narrower to make room for the peek: 49 pt on a 402 pt phone (was 56), 37 pt at 320 pt.iOSClient/PortraitStreamScreen.swift.Screenshots (iPhone 17 simulator, the layout harness)
The narrowest phone, 320 pt (an iPhone SE with Display Zoom):
Compared with #293
#293 also adds iPhone arrows, as a second page of the row reached by a swipe with nothing on screen to say it's there. This PR keeps the arrows visible and leaves out #293's Keys menu and window tiling, so it needs no change on the Mac and no wire change. The two could be combined if #293's Keys menu goes ahead.
Checks
run-all.sh phone-portrait tour key-strokes: all passed (484, 732,447 and 505 checks).Not checked (needs a real iPhone)
HeldCap.activated).DEBUG:
-SillKeyScroll endstarts the row scrolled to the arrows.🤖 Generated with Claude Code