equal
deleted
inserted
replaced
28 else done = true |
28 else done = true |
29 } |
29 } |
30 if (result.nonEmpty) { |
30 if (result.nonEmpty) { |
31 System.out.print(result.toString) |
31 System.out.print(result.toString) |
32 System.out.flush() |
32 System.out.flush() |
33 result.clear |
33 result.clear() |
34 } |
34 } |
35 else { |
35 else { |
36 reader.close() |
36 reader.close() |
37 finished = true |
37 finished = true |
38 } |
38 } |
62 catch { case e: IOException => case Exn.Interrupt() => } |
62 catch { case e: IOException => case Exn.Interrupt() => } |
63 } |
63 } |
64 |
64 |
65 def join: Unit = { console_output.join; console_input.join } |
65 def join: Unit = { console_output.join; console_input.join } |
66 |
66 |
67 def cancel: Unit = console_input.cancel |
67 def cancel(): Unit = console_input.cancel() |
68 } |
68 } |