Tuesday, January 22, 2019

Who flushes the flush buffer?

Screen IO in the console system is expected to be on the screen in to dimensions under xchars display. But we do not use standard fopen and fwrite, we use the low level red and write and provide out own scroll buffer. Hence, absent a process dedicated to managing the scroll buffer, the command loop will be flushing the buffer after each command.  Once we have that al working, then I can go back and install a process that we can signal and will flush the buffer immediately.

Ultimately libev will handle the flush buffer events.

No comments: