Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Avoid blowing up if nonBlockingInput is not really non-blocking

  • Loading branch information...
commit c9d9426791544e8e2b2ac263998b3f0806d89c6d 1 parent 29bb976
@trptcolin authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/main/java/jline/console/ConsoleReader.java
View
3  src/main/java/jline/console/ConsoleReader.java
@@ -1600,7 +1600,10 @@ private void insertClose(String s) throws IOException {
moveCursor(-1);
viMatch();
+
+ if (nonBlockingInput.isNonBlockingEnabled()) {
nonBlockingInput.peek(parenBlinkTimeout);
+ }
setCursorPosition(closePosition);
}
Please sign in to comment.
Something went wrong with that request. Please try again.