diff --git a/libLauncher/src/main/java/ru/gravit/utils/command/JLineCommandHandler.java b/libLauncher/src/main/java/ru/gravit/utils/command/JLineCommandHandler.java index bdd83e81..9e817b4c 100644 --- a/libLauncher/src/main/java/ru/gravit/utils/command/JLineCommandHandler.java +++ b/libLauncher/src/main/java/ru/gravit/utils/command/JLineCommandHandler.java @@ -74,6 +74,11 @@ public void clear() throws IOException { @Override public String readLine() throws IOException { - return reader.readLine(); + try { + return reader.readLine(); + } catch(UserInterruptException e) + { + throw new IOException(e); + } } }