Skip to content

Instantly share code, notes, and snippets.

@johnhidey
johnhidey / ANSI-escape-sequences.md
Created March 19, 2025 15:26 — forked from ConnerWill/ANSI-escape-sequences.md
ANSI Escape Sequences cheatsheet

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27

Keybase proof

I hereby claim:

  • I am johnhidey on github.
  • I am johnhidey (https://keybase.io/johnhidey) on keybase.
  • I have a public key ASA83RESf-8PwQC0fqUxTUIMaMaRuA65tmCBAuavZVm7kAo

To claim this, I am signing this object: