Search code examples
cncurses

How to clear a specific line with NCurses?


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?


Solution

  • You can position on the line you want to clear and then call clrtoeol function.