Logo Search packages:      
Sourcecode: jline version File versions  Download package

final boolean jline::ConsoleReader::resetLine (  )  throws IOException [inline, package]

Erase the current line.

Returns:
false if we failed (e.g., the buffer was empty)

Definition at line 928 of file ConsoleReader.java.

Referenced by readLine().

      {
            if (buf.cursor == 0)
                  return false;

            backspaceAll ();

            return true;
      }


Generated by  Doxygen 1.6.0   Back to index