Class DumbTerminal

java.lang.Object
org.jline.terminal.impl.AbstractTerminal
org.jline.terminal.impl.DumbTerminal
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable, TerminalExt, Terminal

public class DumbTerminal extends AbstractTerminal
A minimal terminal implementation with limited capabilities.

The DumbTerminal class provides a basic terminal implementation that works in environments where a full-featured terminal is not available or not supported. It has minimal capabilities and does not support features like cursor movement, color output, or advanced input processing.

This terminal type is often used as a fallback when more capable terminal implementations cannot be created, such as in non-interactive environments, redirected I/O scenarios, or when running inside IDEs or other tools that don't provide full terminal emulation.

The DumbTerminal supports two variants:

While limited in capabilities, the DumbTerminal still provides the core terminal functionality such as reading input and writing output, making it suitable for basic console applications that don't require advanced terminal features.

See Also: