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

int jline::ConsoleReader::clearEcho ( int  c  )  throws IOException [inline, package]

Clear the echoed characters for the specified character code.

Definition at line 408 of file ConsoleReader.java.

References back(), drawBuffer(), jline::Terminal::getEcho(), and terminal.

Referenced by readVirtualKey().

      {
            // if the terminal is not echoing, then just return...
            if (!terminal.getEcho ())
                  return 0;

            // otherwise, clear
            int num = countEchoCharacters ((char)c);
            back (num);
            drawBuffer (num);

            return num;
      }


Generated by  Doxygen 1.6.0   Back to index