@Test public void testCursorPosition() { Ansi ansi = Ansi.ansi().cursor( 3, 6 ).reset(); assertEquals("\u001B[3;6H\u001B[m", ansi.toString()); }
@Override public String toString() { return getEncoded().toString(); }
AnsiString implements CharSequence { @Override public String toString() { return getEncoded().toString(); } }
AnsiString implements CharSequence { @Override public String toString() { return getEncoded().toString(); } AnsiString(final CharSequence str); }
AnsiString implements CharSequence { @Override public String toString() { return getEncoded().toString(); } AnsiString(final CharSequence str); CharSequence getEncoded(); CharSequence getPlain(); char charAt(final int index); CharSequence subSequence(final int start, final int end); int length(); @Override boolean equals(final Object obj); @Override int hashCode(); @Override String toString(); }
AnsiString implements CharSequence { @Override public String toString() { return getEncoded().toString(); } AnsiString(final CharSequence str); CharSequence getEncoded(); CharSequence getPlain(); char charAt(final int index); CharSequence subSequence(final int start, final int end); int length(); @Override boolean equals(final Object obj); @Override int hashCode(); @Override String toString();  }