Class Prompt

java.lang.Object
org.aesh.readline.Prompt

public class Prompt extends Object
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 Details

  • Method Details

    • getMask

      public Character getMask()
    • isMasking

      public boolean isMasking()
    • getPromptAsString

      public int[] getPromptAsString()
    • getLength

      public int getLength()
    • hasANSI

      public boolean hasANSI()
    • getANSI

      public int[] getANSI()
    • copy

      public Prompt copy()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object