Hello friends,
Is there any way to clear ncurses window created with newwin() or subwin() from (row, col) to (row, col),
Please help.
This is a discussion on How to clear ncurses window from (n, n) to (n, n)? within the C Programming forums, part of the General Programming Boards category; Hello friends, Is there any way to clear ncurses window created with newwin() or subwin() from (row, col) to (row, ...
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.
I support http://www.ukip.org/ as the first necessary step to a free Europe.
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....