Exploring terminfo

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Jan 16 19:02:35 EST 2021


On 17/01/21 12:40 pm, Chris Angelico wrote:
> This is true. However, at some point, the boundary is crossed from
> Python into the C library. Something, at that point, knows. It's very
> common to have a flush option available, so it should be used.

I'm wondering whether the problem in this particular case stems
from trying to use parts of curses without initialising it
properly. I expect that initialising curses would put stdout
into some kind of unbuffered mode, and the rest of it assumes
that this has been done.

-- 
Greg


More information about the Python-list mailing list