public class

NoInterruptUnixTerminal

extends UnixTerminal
java.lang.Object
   ↳ jline.TerminalSupport
     ↳ jline.UnixTerminal
       ↳ jline.NoInterruptUnixTerminal

Class Overview

Non-interruptible (via CTRL-C) UnixTerminal.

Summary

[Expand]
Inherited Constants
From class jline.TerminalSupport
Public Constructors
NoInterruptUnixTerminal()
Public Methods
void init()
Remove line-buffered input by invoking "stty -icanon min 1" against the current terminal.
void restore()
Restore the original terminal configuration, which can be used when shutting down the console reader.
[Expand]
Inherited Methods
From class jline.UnixTerminal
From class jline.TerminalSupport
From class java.lang.Object
From interface jline.Terminal

Public Constructors

public NoInterruptUnixTerminal ()

Throws
Exception

Public Methods

public void init ()

Remove line-buffered input by invoking "stty -icanon min 1" against the current terminal.

Throws
Exception

public void restore ()

Restore the original terminal configuration, which can be used when shutting down the console reader. The ConsoleReader cannot be used after calling this method.

Throws
Exception