charva.awt
Class ShutdownHook
- Runnable
public class ShutdownHook
extends java.lang.Object
implements Runnable
This class is used to clean up the ncurses environment and restore the
terminal settings when the application terminates, whether the program
exits intentionally or because of a signal such as SIGTERM, SIGHUP etc.
void | run() - Implement the Runnable interface; shuts down the ncurses environment
and restores the previous terminal settings.
|
run
public void run()
Implement the Runnable interface; shuts down the ncurses environment
and restores the previous terminal settings.