Package org.jline.builtins
Class Less
java.lang.Object
org.jline.builtins.Less
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final BindingReaderprotected final StringBuilderbooleanprotected final Pathprotected final Displayprotected Stringprotected Stringprotected intprotected intprotected intprotected intbooleanbooleanprotected KeyMap<Less.Operation> protected List<AttributedString> protected Stringprotected intbooleanbooleanprotected intprotected final Map<String, Less.Operation> protected Stringprotected Nano.PatternHistorybooleanbooleanbooleanbooleanbooleanprotected BufferedReaderprotected final Sizeprotected intprotected Stringprotected final Terminalbooleanprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidThis is for long running commands to be interrupted by ctrl-cvoidhandle(Terminal.Signal signal) protected voidvoidvoidstatic String[]usage()
-
Field Details
-
quitAtSecondEof
public boolean quitAtSecondEof -
quitAtFirstEof
public boolean quitAtFirstEof -
quitIfOneScreen
public boolean quitIfOneScreen -
printLineNumbers
public boolean printLineNumbers -
quiet
public boolean quiet -
veryQuiet
public boolean veryQuiet -
chopLongLines
public boolean chopLongLines -
ignoreCaseCond
public boolean ignoreCaseCond -
ignoreCaseAlways
public boolean ignoreCaseAlways -
noKeypad
public boolean noKeypad -
noInit
public boolean noInit -
tabs
-
syntaxName
-
terminal
-
display
-
bindingReader
-
currentDir
-
sources
-
sourceIdx
protected int sourceIdx -
reader
-
keys
-
firstLineInMemory
protected int firstLineInMemory -
lines
-
firstLineToDisplay
protected int firstLineToDisplay -
firstColumnToDisplay
protected int firstColumnToDisplay -
offsetInLine
protected int offsetInLine -
message
-
errorMessage
-
buffer
-
options
-
window
protected int window -
halfWindow
protected int halfWindow -
nbEof
protected int nbEof -
patternHistory
-
pattern
-
displayPattern
-
size
-
-
Constructor Details
-
Less
-
Less
-
Less
-
-
Method Details
-
usage
-
tabs
-
handle
-
run
- Throws:
IOExceptionInterruptedException
-
run
- Throws:
IOExceptionInterruptedException
-
openSource
- Throws:
IOException
-
checkInterrupted
This is for long running commands to be interrupted by ctrl-c- Throws:
InterruptedException- if the thread has been interruped
-