Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## charva.awt
Class ShutdownHook

    java.lang.Object
      charva.awt.ShutdownHook

All Implemented Interfaces:
  java.lang.Runnable

public class ShutdownHook
extends java.lang.Object
implements java.lang.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.

Method Summary
`void` | `run()` Implement the Runnable interface; shuts down the ncurses environment and restores the previous terminal settings.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### run

    public void run()

  Implement the Runnable interface; shuts down the ncurses environment and restores the previous terminal settings.

  Specified by:
    `run` in interface `java.lang.Runnable`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD