SwingTerminalHostKeyHandler
Host-owned keyboard action hook for SwingTerminal.
The reusable terminal asks this hook before encoding key presses for the shell. Returning true means the host handled the key as application policy and the terminal must not send it to the session. Returning false passes the key through to terminal input handling.