chore: snapshot main sync
This commit is contained in:
@@ -99,12 +99,6 @@ export function useTerminalSelection({
|
||||
});
|
||||
}, [send]);
|
||||
|
||||
// ============================================================
|
||||
// v1.10.4 features (long-press menu, right-click, custom keys)
|
||||
// Kept verbatim — independent of the WS/fit path that v1.10.8c fixes.
|
||||
// Re-bound on session/pane change so the gesture closures reference the
|
||||
// recreated terminal.
|
||||
// ============================================================
|
||||
useEffect(() => {
|
||||
const termInit = termRef.current;
|
||||
const ctrInit = containerRef.current;
|
||||
|
||||
@@ -83,9 +83,6 @@ export function useTerminalSocket({
|
||||
setCtrlArmedSync(!ctrlArmedRef.current);
|
||||
}, [setCtrlArmedSync]);
|
||||
|
||||
// sendInput: write to the WS as a binary frame (server-side discriminator
|
||||
// routes binary to PTY, text to JSON control). Used by the hotkey bar and
|
||||
// the selection paste path.
|
||||
const send = useCallback((text: string) => {
|
||||
if (!text) return;
|
||||
const ws = wsRef.current;
|
||||
|
||||
Reference in New Issue
Block a user