Fix minor TermDisplay glitch

Display cleaning possibly made too early
This commit is contained in:
Alexandre Archambault
2016-11-07 12:27:58 +01:00
parent f1e1b6aac9
commit 73243f54e3
+1 -1
View File
@@ -453,7 +453,7 @@ class TermDisplay(
*/
def stopDidPrintSomething(): Boolean = {
scheduler.shutdown()
scheduler.awaitTermination(refreshInterval, TimeUnit.MILLISECONDS)
scheduler.awaitTermination(2 * refreshInterval, TimeUnit.MILLISECONDS)
updateRunnable.cleanDisplay()
updateRunnable.printedAnything()
}