Hello friends,
Is there any way to clear ncurses window created with newwin() or subwin() from (row, col) to (row, col),
Please help.
Printable View
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.
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....