Uses of Interface
net.morimekta.console.terminal.LinePrinter
-
Packages that use LinePrinter Package Description net.morimekta.console.terminal -
-
Uses of LinePrinter in net.morimekta.console.terminal
Classes in net.morimekta.console.terminal that implement LinePrinter Modifier and Type Class Description class
Terminal
Terminal interface.Methods in net.morimekta.console.terminal with parameters of type LinePrinter Modifier and Type Method Description InputSelection.Reaction
InputSelection.Action. call(E entry, LinePrinter printer)
Call the command with the given entry.java.lang.String
InputLine.TabCompletion. complete(java.lang.String before, LinePrinter errorPrinter)
Try to complete the given string.boolean
InputLine.CharValidator. validate(Char ch, LinePrinter errorPrinter)
Validate the given char.boolean
InputLine.LineValidator. validate(java.lang.String line, LinePrinter errorPrinter)
Validate the full line.Constructors in net.morimekta.console.terminal with parameters of type LinePrinter Constructor Description Progress(LinePrinter updater, java.util.function.IntSupplier widthSupplier, Progress.Spinner spinner, java.lang.String title, long total)
Create a progress bar using the line printer and width supplier.Progress(Terminal terminal, LinePrinter updater, java.util.function.IntSupplier widthSupplier, java.time.Clock clock, Progress.Spinner spinner, java.lang.String title, long total)
Create a progress updater.Terminal(STTY tty, java.io.InputStream in, java.io.OutputStream out, LinePrinter lp, STTYModeSwitcher switcher)
Constructor visible for testing.Terminal(STTY tty, LinePrinter lp)
Construct a terminal with a custom line printer.Terminal(STTY tty, STTYMode mode, LinePrinter lp)
Construct a terminal with a terminal mode and custom line printer.
-