Skip to content
Source
Sign inSign up

terminal.md

33 lines1.7 KB

1# Terminal history
2​
3Each terminal keeps up to 5,000 lines and 8 MiB of scrollback on its environment
4server. T3 Code removes the oldest output when either limit is reached. A long
5line can be shortened at the start. New terminal output is not truncated.
6​
7These limits apply when you reconnect and when T3 Code restores saved terminal
8history. A client can show less scrollback than the server keeps.
9​
10On web and desktop, use Shift+PageUp and Shift+PageDown to read scrollback
11without leaving terminal input. Ctrl+Shift+Home and Ctrl+Shift+End jump to the
12start and latest output; use Cmd instead of Ctrl on macOS. Full-screen terminal
13programs keep these navigation keys.
14​
15To copy all retained output, choose Select all in the terminal's context menu,
16then copy. Cmd+A on macOS and Ctrl+Shift+A elsewhere select the same output.
17Ctrl+A still moves to the beginning of shell input on Windows and Linux.
18Jump to latest in the context menu returns to the current output.
19​
20On iPhone and iPad, long-press the terminal to paste or to choose Select Text.
21Select Text shows the visible output, where you can copy text or tap a link.
22​
23## fish
24​
25T3 Code starts fish with `no-query-term`, avoiding startup waits for terminal
26replies. This disables optional fish features that depend on those replies.
27T3 Code's exported `fish_features` also hides any universal flags you set with
28`set -U fish_features`.
29​
30To preserve those flags or enable queries with `query-term`, include them in
31`fish_features` in the environment that launches T3 Code. A shell export applies
32when you launch T3 Code from that shell; it does not configure a desktop app
33launched from the Dock or Finder. Enabling queries can restore the startup wait.