How to clear a specific line with NCurses?
I need to wipe a line on the screen without redrawing the whole thing. How do I do that?
You can position on the line you want to clear and then call clrtoeol function.
If you just want to clear the screen immediately, you should find another way to do it. The clear command should do it; just call system("clear"); .
You can position on the line you want to clear and then call clrtoeol
function.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With