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

final void jline::ConsoleReader::beep (  )  throws IOException [inline]

Issue an audible keyboard bell, if getBellEnabled return true.

Definition at line 1178 of file ConsoleReader.java.

References flushConsole(), getBellEnabled(), and printCharacter().

Referenced by jline::CandidateListCompletionHandler::printCandidates(), and readLine().

      {
            if (!(getBellEnabled ()))
                  return;

            printCharacter (KEYBOARD_BELL);
            // need to flush so the console actually beeps
            flushConsole ();
      }


Generated by  Doxygen 1.6.0   Back to index