{
  "id": "terminal-osc/112",
  "family": "terminal-osc",
  "slug": "112",
  "title": "OSC 112 — Reset cursor color",
  "summary": "OSC 112 resets the text cursor color to its default.",
  "kind": "control-sequence",
  "aliases": [
    "OSC 112",
    "OSC 112 — Reset cursor color"
  ],
  "status": "de-facto",
  "verification": "verified",
  "tier": "B",
  "source_url": "https://invisible-island.net/xterm/ctlseqs/ctlseqs.html",
  "source_version": "xterm ctlseqs, patch #410, 2026/04/19",
  "retrieved_date": "2026-05-29",
  "see_also": [],
  "ext_type": "terminal-escape@1",
  "ext": {
    "csi_or_osc": "OSC",
    "command_number": 112,
    "frame": {
      "introducer_7bit": "\u001b]",
      "introducer_7bit_readable": "ESC ] (0x1B 0x5D)",
      "introducer_8bit": "",
      "introducer_8bit_readable": "0x9D (single-byte OSC, 8-bit C1)",
      "note": "OSC 112 ; ... ST."
    },
    "terminator": "ST|BEL",
    "terminator_detail": {
      "canonical_ST_7bit": "\u001b\\",
      "alt_BEL": "\u0007",
      "note": "ECMA-48 mandates ST; BEL is widely accepted."
    },
    "params": [
      {
        "id": "reset",
        "anchor": "#reset",
        "name": "Reset cursor color",
        "meaning": "OSC 112 ST resets the cursor color.",
        "required": true,
        "byte_sequence_ST": "\u001b]112\u001b\\",
        "byte_sequence_ST_readable": "ESC ] 1 1 2 ST",
        "subparams": []
      }
    ],
    "gotchas": [
      "OSC 112 is the reset counterpart of OSC 12 (cursor color)."
    ],
    "v1_smoke_test": {
      "asserts": "OSC 112 renders as a byte-exact ST-terminated OSC sequence.",
      "behavioral_conformance": "deferred to v2."
    }
  },
  "updated": "2026-05-29"
}
