Terminal API (VT)

The Terminal API documentation is adapted from Ghostty’s VT docs, used under the MIT license (see the repo NOTICE). TermSurf’s terminal (Ghostboard) is a Ghostty fork and inherits its VT engine.

Programs running in terminals use control sequences to interact with the terminal. Control sequences are a series of special characters that the terminal interprets as commands. These are sometimes referred to as VT sequences or escape codes.

For a full list of supported sequences, see the reference. For a conceptual overview of control sequences, see the concepts page. The current page will give an overview of TermSurf’s control sequence support.