cadubi
cadubi copied to clipboard
Feature Req: Add key to change color without changing drawn character:
I have many colors to change but dont want to change pen to match underlying character every time. A simple addition would allow writing color values without changing text?
But this doesn't work. Any help?
# Clort change color
if ($key eq 'w') {
&writecol;
return 1;
}
...
sub writecol { # Clort changes color to current color, we hope
$charmap->[$pos[0]][$pos[1]] = [@charmode];
# dont actually printit print &printchar(@charmode);