Fixes: keyboard routing across tabs, long-press selection in tmux tabs, copy button with keyboard up, and the multi-tab-over-a-tunnel timeout

Switching from the Terminal to a Desktop / VNC / Connections tab no longer leaves the terminal holding keyboard focus, so typing on the visible screen reaches the visible screen instead of the terminal.

Long-press to select text now works again in tmux/zellij sessions (previously gated to plain-shell tabs), and the visible Copy / overflow button sits above the keyboard instead of behind it.

Opening a second terminal tab on a connection routed through a WireGuard/Tailscale tunnel now works — it was dialling direct and timing out ("Session not connected").

Follow-up to the 5.59.4 keyboard fix: the scroll-to-bottom on dismiss could return after switching tabs or returning to the app with the keyboard up. The terminal now sizes from the keyboard-hidden height. (#206)
