Ghostty
  • Docs
  • Discord
  • GitHub
Download
  • Download
  • Discord
  • GitHub

  • Ghostty Docs
  • About Ghostty
    • Overview
    • Reference
    • External Protocols
      • Change Window Icon and Title (OSC 0)
      • Change Window Icon (OSC 1)
      • Change Window Title (OSC 2)
      • Query or Change Palette Colors (OSC 4)
      • Query or Change Special Colors (OSC 5)
      • Change Working Directory (OSC 7)
      • Show Desktop Notification (OSC 9)
      • ConEmu Extensions (OSC 9;n)
      • Query or Change Dynamic Colors (OSC 10–19)
      • Change Pointer Shape (OSC 22)
      • Query or Change Clipboard Data (OSC 52)
      • Reset Palette Colors (OSC 104)
      • Reset Special Colors (OSC 105)
      • Reset Dynamic Colors (OSC 110–119)
  • Financial Support
  • Ghostty Docs
  • About Ghostty
    • Overview
    • Reference
    • External Protocols
      • Change Window Icon and Title (OSC 0)
      • Change Window Icon (OSC 1)
      • Change Window Title (OSC 2)
      • Query or Change Palette Colors (OSC 4)
      • Query or Change Special Colors (OSC 5)
      • Change Working Directory (OSC 7)
      • Show Desktop Notification (OSC 9)
      • ConEmu Extensions (OSC 9;n)
      • Query or Change Dynamic Colors (OSC 10–19)
      • Change Pointer Shape (OSC 22)
      • Query or Change Clipboard Data (OSC 52)
      • Reset Palette Colors (OSC 104)
      • Reset Special Colors (OSC 105)
      • Reset Dynamic Colors (OSC 110–119)
  • Financial Support
  • Ghostty Docs
  • Terminal API (VT)
  • OSC
  • Reset Special Colors (OSC 105)

Reset Special Colors (OSC 105)

Reset special colors.

  1. 0x1B
    ESC
  2. 0x5D
    ]
  3. 0x31 0x30 0x35
    105
  4. 0x3B
    ;
  5. ____
    n
  6. 0x1B
    ESC
  7. 0x5C
    \

Reset the special color at index n. n can be specified zero or more times, separated with semicolons (;) When n is not specified, all special colors are reset.


Edit on GitHub
  • Docs
  • Discord
  • GitHub
  • Download

© 2025 Ghostty