Skip to content

Instantly share code, notes, and snippets.

@zoubingwu
zoubingwu / javascript_ANSI_escape_codes.md
Last active October 25, 2019 09:44 — forked from leommoore/javascript_ANSI_escape_codes.md
JavaScript - ANSI Escape Codes

#JavaScript - ANSI Escape Codes

ANSI Escape Codes are special characters which can be used to control formatting, colors or other output preferences in a text terminal. Escape Codes are non-printing code and will not appear in the output directly.

  • \033 begins the escape sequence
  • [ indicates the color
  • 33 is the foreground color for yellow
  • m indicates the end of the setting

Note: \033[39m is used set the color back to the terminal defult

@zoubingwu
zoubingwu / iterm2-solarized.md
Created May 26, 2018 10:39 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k