resetPaletteColors
Restores indexed colors to the host-configured theme defaults (OSC 104).
The array is borrowed only for this call. Consume its first count indices synchronously or copy them before retention. A zero count resets the entire indexed table; dynamic foreground, background, and cursor colors are preserved.
Parameters
indices
valid palette indices in 0..255.
count
used prefix length, or zero for the complete indexed table.