public override void Redraw() { // Hack if you need more than 256 colors ColorPair.ReleaseAll(); for (int i = 0; i < Curses.Colors; i++) { if (i >= Height) { break; } int y = start + i; string str = string.Format("\x0000{0} {1} \x0000{0},{0} ", y, FillSpace(y)); ColorString.Fill(this, str, 0, i, Width, 1); } }
public virtual void DrawStatusBar(ColorString text) { text.Fill(this); Curses.attron(ColorPair.From(-1, -1).Attribute); }