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

final int jline::ConsoleReader::readVirtualKey (  )  throws IOException [inline]

Read a character from the console.

the character, or -1 if an EOF is received.

Definition at line 1424 of file ConsoleReader.java.

References clearEcho(), debug(), jline::Terminal::readVirtualKey(), and terminal.

Referenced by readBinding().

            int c = terminal.readVirtualKey (in);

            if (debugger != null)
                  debug ("keystroke: " + c + "");

            // clear any echo characters
            clearEcho (c);

            return c;

Generated by  Doxygen 1.6.0   Back to index