curses.echo() prints every hit key. I know how to change color when using addstr, but I don't know how to print some auto-echoed letters in red.
Asked
Active
Viewed 22 times
1 Answers
1
That's done by setting the window attributes with a color-pair for red, e.g., using window.attron
(attr)

Thomas Dickey
- 51,086
- 7
- 70
- 105