termonad-4.6.0.0: Terminal emulator configurable in Haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Termonad.App

Synopsis

Documentation

askShouldExit :: TMState -> IO ResponseType Source #

Try to figure out whether Termonad should exit. This also used to figure out if Termonad should close a given terminal.

This reads the confirmExit setting from ConfigOptions to check whether the user wants to be notified when either Termonad or a given terminal is about to be closed.

If confirmExit is True, then a dialog is presented to the user asking them if they really want to exit or close the terminal. Their response is sent back as a ResponseType.

If confirmExit is False, then this function always returns ResponseTypeYes.

forceQuit :: TMState -> IO () Source #

Force Termonad to exit without asking the user whether or not to do so.

start :: TMConfig -> IO () Source #

Run Termonad with the given TMConfig.

Do not perform any of the recompilation operations that the defaultMain function does.

This function does not parse command line arguments.