Closed ahmetb closed 7 years ago
What output did you expect?
I think this is expected behavior and not a bug. It's mentioned in the source:
// Note that background doesn't just accept colours but will fill
// any blank positions with the supplied character too. Note that newly
// added text with spaces in it will have the blanks converted to the fill
// character, if given
stdscr.SetBackground(gc.Char('*') | gc.ColorPair(2))
I get this output when I run it:
and when I press a key I get this: