View Single Post
Old May 15, 2007, 16:43   #2
pav
Administrator
 
pav's Avatar
 
Join Date: Apr 2007
Location: Prague, Czech republic
Age: 39
Posts: 783
pav is on a distinguished road
Send a message via ICQ to pav
You need to add these two lines to your signal handler:

endwin();
refresh();

before you call off to Angband code. This will tell ncurses to reinit the screen and update it's idea of terminal dimensions. It got some screen flicker, but it works!
__________________
See the elves and everything! http://angband.oook.cz
pav is offline   Reply With Quote