refactor: Improve all git operations, add stash support, add improved pull request flow, add worktree file copy options, address code review comments, add cherry pick options

This commit is contained in:
gsxdsm
2026-02-17 22:02:58 -08:00
parent f4e87d4c25
commit 9af63bc1ef
89 changed files with 6811 additions and 351 deletions

View File

@@ -88,6 +88,9 @@ export function MobileTerminalShortcuts({
/** Handles arrow key press with long-press repeat support. */
const handleArrowPress = useCallback(
(data: string) => {
// Cancel any in-flight timeout/interval before starting a new one
// to prevent timer leaks when multiple touches occur.
clearRepeat();
sendKey(data);
// Start repeat after 400ms hold, then every 80ms
repeatTimeoutRef.current = setTimeout(() => {
@@ -96,7 +99,7 @@ export function MobileTerminalShortcuts({
}, 80);
}, 400);
},
[sendKey]
[clearRepeat, sendKey]
);
const handleArrowRelease = useCallback(() => {