Read and send terminal text¶
Use pane IDs from gft list-panes. Commands address the pane without changing frontend focus.
Capture and type¶
Save the current screen or include scrollback:
Capture leaves focus and scroll position unchanged. Full-screen programs expose their current screen, without the shell's earlier scrollback.
Type into another pane, then send a key:
Replace %3 with an ID from gft list-panes. Typing does not press Enter.
Keys can include modifiers, such as Ctrl+h; add --no-effects to send-key
to suppress typing effects.
Control a remote terminal¶
Connect using an SSH host from your configuration and choose a CLI alias:
Use a qualified target from the listing for input or capture:
gft terminal type -t 'build/%12' --text 'hello'
gft terminal send-key -t 'build/%12' Enter
gft get-text -t 'build/%12'
The connection must stay open. Add --no-gui to connect without opening a window;
Telegram verification requires the GUI. See remote access.