Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
about ncurses and screen dumping
I have a code like below :
"ch" is type of char and 113 is ESC. MessageBox function simply displays a message box asking the user to continue the process.Messagebox returns 1 if the answer is "yes" and 0 if the answer is "no". But I want to dump the screen before displaying the message box and redraw it if the answer is no. But it doesn't redraw the screen!...Please check..
system("/bin/rm -f /tmp/screen.tmp");