Finch does not restore cursor + a fix
dave at unrealize.co.uk
Tue Jan 6 16:21:54 EST 2009
I noticed this problem a few days ago and also noticed with one of my own
programs. When exiting Finch the cursor is not restored to the termcap
I use a flashing block cursor because my eyesight isn't so great but finch
always resets it to underline at exit. I managed to fix my own curses code
so I thought you might like to have a look:
int main ( void )
// ncurses start
cout<<cursor_visible; // < -- restore cursor to terminfo setting
cout<<clear_screen; // <-- need this to restore colour
I haven't tried this in the finch code yet. I will do so now and see if I
have any luck.
When all else fails, read the instructions.
More information about the Support