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. when the builder has been given the input and output streams using thestreams(InputStream, OutputStream)method or whensystem(boolean)has been explicitly called withfalse.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 thePROP_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 thePROP_PROVIDER_EXEC/execterminal provider.TerminalBuilder.ffm(boolean ffm) Enables or disables thePROP_PROVIDER_FFM/ffmterminal provider.TerminalBuilder.jansi(boolean jansi) Enables or disables thePROP_PROVIDER_JANSI/jansiterminal provider.TerminalBuilder.jna(boolean jna) Enables or disables thePROP_PROVIDER_JNA/jnaterminal provider.TerminalBuilder.jni(boolean jni) Enables or disables thePROP_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. when the builder has been given the input and output streams using thestreams(InputStream, OutputStream)method or whensystem(boolean)has been explicitly called withfalse.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.