Skip to content

Instantly share code, notes, and snippets.

View paoloricciuti's full-sized avatar

Paolo Ricciuti paoloricciuti

View GitHub Profile
@dominikwilkowski
dominikwilkowski / README.md
Last active September 15, 2025 10:02
ANSI codes for cli controled output

ANSI escape sequences

ANSI escape sequences can be printed to a shell to as instructions. The below is a list of codes I have used often in my CLI programs and I find myself looking up over and over again.

A great article about it can be found here.

Content

@fnky
fnky / ANSI.md
Last active December 12, 2025 15:18
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

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