2 ms·
A modern console would use out of band signaling for things like cursor position, colors, size changes, etc. Windows consoles work like that using API calls, wh
by AnIdiotOnTheNet 8y ago
A modern console would use out of band signaling for things like cursor position, colors, size changes, etc. Windows consoles work like that using API calls, which is perhaps not ideal for quickly hacking things together but at least doesn't wig out on you if something throws arbitrary bytes into the stream.