drawCharCode method
Draws a character at column x
, row y
of this Terminal using its
integer charCode
using the given foreground
and background
Colors
(or default colors).
Implementation
void drawCharCode(int x, int y, int charCode,
[Color? foreground, Color? background]) {
foreground ??= this.foreground;
background ??= this.background;
drawChar(x, y, Char.create(charCode, foreground, background));
}