cronvel / terminal-kit

Terminal utilities for node.js
MIT License
3.08k stars 198 forks source link

Redraw window every "frame" #225

Open SinanAkkoyun opened 1 year ago

SinanAkkoyun commented 1 year ago

Hi, I get unwanted console.logs from a package (naudiodon, C++ prinf s) that mess up my document. I want to be able to draw above that every 20ms or so. How do I redraw the whole terminal screen?

(Also with document inlineinputs, how can I reset the prompt after submit?)

Thank you very much!

SinanAkkoyun commented 1 year ago

For example, when resizing the whole terminal rerenders, which removes all the console.logs like I want