SGR 5 — Blink (slow)
Blink the following text (≤ 150 blinks/minute).
Byte forms
Every common string-literal form so you can paste-and-search either direction.
\\x1b[
\x1b[5m\\033[
\033[5m\\e[
\e[5mESC [
ESC [ 5 mhex
1b 5b 35 6dDescription
Slow blink (the spec also defines SGR 6 'rapid blink', > 150/min, which xterm collapses to the same behavior). Disable with `\x1b[25m`. Most modern terminals honor it; alacritty historically did not blink the cell but rendered the attribute, and many users globally disable blink for accessibility. Avoid for any content that conveys meaning — blink is widely flagged as a vestibular / seizure trigger and may be suppressed by the OS or terminal.
Spec citation: ECMA-48 §8.3.117 (SGR parameter 5)
Examples
printf '\033[5mblink\033[25m steady\033[0m\n'print('\x1b[5mblink\x1b[0m')fmt.Print("\x1b[5mblink\x1b[0m")console.log('\x1b[5mblink\x1b[0m')printf("\x1b[5mblink\x1b[0m\n");Terminal support
- xterm
- yes
- Linux console (fbcon)
- yes
- macOS Terminal.app
- no
- iTerm2
- yes
- Windows Terminal
- partial
- cmd.exe / ConPTY
- no
- kitty
- yes
- alacritty
- partial
- WezTerm
- yes
- Ghostty
- yes
- GNOME Terminal
- yes
- Konsole
- yes
- tmux
- no
- GNU screen
- no
| xterm | Linux console (fbcon) | macOS Terminal.app | iTerm2 | Windows Terminal | cmd.exe / ConPTY | kitty | alacritty | WezTerm | Ghostty | GNOME Terminal | Konsole | tmux | GNU screen |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| yes | yes | no | yes | partial | no | yes | partial | yes | yes | yes | yes | no | no |