Remove input timeout if inputbox was changed meanwhile.
authorDaniel Carl <danielcarl@gmx.de>
Thu, 11 Dec 2014 20:59:53 +0000 (21:59 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Thu, 11 Dec 2014 20:59:53 +0000 (21:59 +0100)
commit4ca33a2ed057a8732621abfb0f8746e46abccaf3
treee8be9dafc4d83244c42b67d52651f3e1d576a080
parent1e7f68e29e843f2f189310d9f0bedbde234b6573
Remove input timeout if inputbox was changed meanwhile.

If the user started a command that failed with error state, the input timeout
was started. In case this was followed by a good command that prints output to
inputbox, the output was cleared by the previous set timeout function.
To fix this behaviour, the timeout is removed if the timer was started and the
inputbox is changed.
src/main.c