fg256 function
Set color to foreground from 256-color table.
See also fg256Open and fg256Close.
Implementation
String fg256(int colorIndex) {
IndexError.check(colorIndex, 256, name: 'colorIndex');
return '$fg256Open$colorIndex$fg256Close';
}
Set color to foreground from 256-color table.
See also fg256Open and fg256Close.
String fg256(int colorIndex) {
IndexError.check(colorIndex, 256, name: 'colorIndex');
return '$fg256Open$colorIndex$fg256Close';
}