setBackgroundColor256 method
Sets the background to palette colour index (0–255).
Implementation
void setBackgroundColor256(int index) {
if (index < 0 || index > 255) return;
_sgr('48;5;$index');
}
Sets the background to palette colour index (0–255).
void setBackgroundColor256(int index) {
if (index < 0 || index > 255) return;
_sgr('48;5;$index');
}