x1B
x1B, also written 0x1B, is the hexadecimal notation for the byte value 1B (27 in decimal) in the ASCII and Unicode character sets. This value corresponds to the Escape character, a non-printable control character used mainly to introduce escape sequences in text terminals and various communication protocols.
In early and modern terminals, the Escape character begins control sequences. The most common form is an
In programming, the value is often embedded in strings as \x1B in languages like C and C++,
In Unicode, ESC is U+001B. Its usage spans terminal emulators, printers, and some network protocols; the interpretation
Note that the Escape key on keyboards may generate different codes depending on platform and software; it