Class Prompt
java.lang.Object
org.aesh.readline.Prompt
The Prompt:
If created with a String value that value will be the prompt
with the default back and foreground colors.
If created with TerminalCharacters the colors can be set individually.
- Author:
- Ståle W. Pedersen
-
Constructor Summary
ConstructorsConstructorDescriptionPrompt()Prompt(List<TerminalCharacter> characters) Prompt(List<TerminalCharacter> characters, Character mask) Prompt(TerminalString terminalString) -
Method Summary
-
Constructor Details
-
Prompt
public Prompt() -
Prompt
-
Prompt
-
Prompt
-
Prompt
-
Prompt
-
Prompt
-
Prompt
-
Prompt
-
Prompt
-
-
Method Details
-
getMask
-
isMasking
public boolean isMasking() -
getPromptAsString
public int[] getPromptAsString() -
getLength
public int getLength() -
hasANSI
public boolean hasANSI() -
getANSI
public int[] getANSI() -
copy
-
equals
-
hashCode
-