Uses of Class
org.jline.terminal.TerminalBuilder
Packages that use TerminalBuilder
Package
Description
JLine Terminal API - Core abstractions for terminal operations across different platforms.
-
Uses of TerminalBuilder in org.jline.terminal
Methods in org.jline.terminal that return TerminalBuilderModifier and TypeMethodDescriptionTerminalBuilder.attributes(Attributes attributes) Attributes to use when creating a non system terminal, i.e.static TerminalBuilderTerminalBuilder.builder()Creates a new terminal builder instance for configuring and creating terminals.TerminalBuilder.codepage(int codepage) Deprecated.JLine now writes Unicode output independently from the selected code page.TerminalBuilder.color(boolean color) TerminalBuilder.dumb(boolean dumb) Enables or disables theTerminalBuilder.PROP_PROVIDER_DUMB/dumbterminal provider.Set the encoding to use for reading/writing from the console.Set theCharsetto use for reading/writing from the console.TerminalBuilder.exec(boolean exec) Enables or disables theTerminalBuilder.PROP_PROVIDER_EXEC/execterminal provider.TerminalBuilder.ffm(boolean ffm) Enables or disables theTerminalBuilder.PROP_PROVIDER_FFM/ffmterminal provider.TerminalBuilder.jansi(boolean jansi) Enables or disables theTerminalBuilder.PROP_PROVIDER_JANSI/jansiterminal provider.TerminalBuilder.jna(boolean jna) Enables or disables theTerminalBuilder.PROP_PROVIDER_JNA/jnaterminal provider.TerminalBuilder.jni(boolean jni) Enables or disables theTerminalBuilder.PROP_PROVIDER_JNI/jniterminal provider.TerminalBuilder.nativeSignals(boolean nativeSignals) TerminalBuilder.paused(boolean paused) Initial paused state of the terminal (defaults to false).Forces the usage of the give terminal provider.Sets the list of providers to try when creating the terminal.TerminalBuilder.signalHandler(Terminal.SignalHandler signalHandler) Determines the default value for signal handlers.Initial size to use when creating a non system terminal, i.e.TerminalBuilder.stderrEncoding(String encoding) Set the encoding to use for writing to standard error.TerminalBuilder.stderrEncoding(Charset encoding) Set theCharsetto use for writing to standard error.TerminalBuilder.stdinEncoding(String encoding) Set the encoding to use for reading from standard input.TerminalBuilder.stdinEncoding(Charset encoding) Set theCharsetto use for reading from standard input.TerminalBuilder.stdoutEncoding(String encoding) Set the encoding to use for writing to standard output.TerminalBuilder.stdoutEncoding(Charset encoding) Set theCharsetto use for writing to standard output.TerminalBuilder.streams(InputStream in, OutputStream out) TerminalBuilder.system(boolean system) TerminalBuilder.systemOutput(TerminalBuilder.SystemOutput systemOutput) Indicates which standard stream should be used when displaying to the terminal.