mirror of
https://github.com/Termix-SSH/Mobile.git
synced 2026-04-26 00:05:55 +03:00
[PR #6] [MERGED] fix: handle physical keyboard special keys in terminal #3
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Mobile#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Termix-SSH/Mobile/pull/6
Author: @ZacharyZcR
Created: 2/12/2026
Status: ✅ Merged
Merged: 2/14/2026
Merged by: @LukeGus
Base:
dev-1.3.0← Head:fix/physical-tab-key📝 Commits (4)
8d2709dfeat: add iPadOS build workflow without EAS dependency (#4)3bd4c39fix: handle physical keyboard special keys in terminalf2f2068feat: add iOS native Shift+Tab support via UIKeyCommand73d38e2Merge branch 'dev-1.3.0' into fix/physical-tab-key📊 Changes
5 files changed (+202 additions, -1 deletions)
View changed files
➕
.github/workflows/build-ipados.yml(+75 -0)📝
app/tabs/sessions/Sessions.tsx(+31 -1)➕
modules/hardware-keyboard/expo-module.config.json(+6 -0)➕
modules/hardware-keyboard/index.ts(+23 -0)➕
modules/hardware-keyboard/ios/HardwareKeyboardModule.swift(+67 -0)📄 Description
Summary
key.length === 1filter inonKeyPress"Tab","Escape","ArrowUp") have length > 1 and were not explicitly handled like Enter/Backspace\t, Escape →\x1b, arrows → standard escape sequencesUIKeyCommandmodule to intercept Shift+Tab on hardware keyboards and forward\x1b[Z(backtab) to the terminaliOS Native Module (
modules/hardware-keyboard)UIKeyCommandwithwantsPriorityOverSystemBehaviorto capture Shift+Tab before the system handles itUIViewController.keyCommandsto inject the key command globallyEventEmitterpatternTest plan
claudeCLI)\t(tab completion)\x1b[Z(backtab / reverse tab)\x1bRelates to Termix-SSH/Support#355
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.