Reputation: 340
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.
Upvotes: 0
Views: 24
Reputation: 54505
That's done by setting the window attributes with a color-pair for red, e.g., using window.attron
(attr)
Upvotes: 1