Fix status resetting every time through the repl.

This commit is contained in:
Jonathan Bernard 2016-03-16 03:41:27 -05:00
parent fb098c6603
commit f96a069df0

View File

@ -285,7 +285,10 @@ Configuration:
while(this.running) { while(this.running) {
if (new Date() > dismissMsgDate) resetStatus() if (new Date() > dismissMsgDate) {
resetStatus()
dismissDate = new Date(Long.MAX_VALUE) }
if (consoleReadBuffer.size() > 0) { if (consoleReadBuffer.size() > 0) {
line = consoleReadBuffer.remove(0) line = consoleReadBuffer.remove(0)
try { processInput(line) } try { processInput(line) }