Hello friends,
Is there any way to clear ncurses window created with newwin() or subwin() from (row, col) to (row, col),
Please help.
Hello friends,
Is there any way to clear ncurses window created with newwin() or subwin() from (row, col) to (row, col),
Please help.
Well if there is nothing obvious in the manual page (did you check?), it's not going to be that hard to write a couple of loops to clear a sub-rectangle.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Ravi Raj, I sincerly think you should read more and ask less. It could be as simple as a loop of mvwaddstr with an str fill up with as many blank characters to match the width of your window area that requires erasing.
well i think it should have worked with cleartoeol() . But u can also use clear(win) and then move(n,n). And don't forget to use wrefresh(win). Hope this helps....