bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Leaving display visible when exiting ncurses application


From: Allistar
Subject: Leaving display visible when exiting ncurses application
Date: Tue, 12 Jan 2010 11:36:59 +1300
User-agent: KNode/0.10.9

Hi all,
  I have developed a brute-force puzzle breaking application for a board
puzzle (called Kaleidoscope). This can take many hundreds of thousands of
iterations, and the output of the current "solution" is displayed using
ncurses (the board is output at a particular location on the screen, so the
user sees it animating as the algorithm progresses).

  The problem is that when the application finishes, the screen is cleared
and I am left back at the terminal prompt. I would like it so the contents
from the ncurses window are displayed to the normal console when the
application exits. Is there a way to do this?

Also I would like this to happen if the application is killed ungracefully
(ctrl-c).

Can this be done?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]