Skip to main content

write_request_palette_color

Function write_request_palette_color 

Source
pub fn write_request_palette_color<W: Write>(w: &mut W, index: u8) -> Result<()>
Expand description

Request one indexed palette entry with ESC ] 4 ; <index> ; ? BEL.

The terminal reply, when supported, uses OSC 4 with the same index and a color payload such as rgb:RRRR/GGGG/BBBB.