Terminal - Escape Sequence (Control sequence)
Table of Contents
About
An escape sequence is a sequence of characters that is interpreted by the terminal as a command.
Example:
- change the text color
- move the cursor
- …
They change the state of computers and their attached peripheral devices.
They are also known as control sequences, reflecting their use in device control.
Console escape and control sequences for the Linux terminal can be found:
- in the man page: console_codes
- or wikipedia escape sequence
Example
Library
- Java: Jansi