queryColorPalette method

void queryColorPalette(
  1. int index
)

Queries a color from the terminal palette.

Implementation

void queryColorPalette(int index) {
  _buf.write('\x1b]4;$index;?\x1b\\');
}