Package org.jline.builtins
Class Less
java.lang.Object
org.jline.builtins.Less
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected final BindingReader
protected final StringBuilder
boolean
protected final Path
protected final Display
protected String
protected String
protected int
protected int
protected int
protected int
boolean
boolean
protected KeyMap
<Less.Operation> protected List
<AttributedString> protected String
protected int
boolean
boolean
protected int
protected final Map
<String, Less.Operation> protected String
protected Nano.PatternHistory
boolean
boolean
boolean
boolean
boolean
protected BufferedReader
protected final Size
protected int
protected String
protected final Terminal
boolean
protected int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
This is for long running commands to be interrupted by ctrl-cvoid
handle
(Terminal.Signal signal) protected void
void
void
static 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:
IOException
InterruptedException
-
run
- Throws:
IOException
InterruptedException
-
openSource
- Throws:
IOException
-
checkInterrupted
This is for long running commands to be interrupted by ctrl-c- Throws:
InterruptedException
- if the thread has been interruped
-