Reset inputbox style if command mode is started or box cleared.
authorDaniel Carl <danielcarl@gmx.de>
Tue, 7 Jan 2014 23:45:28 +0000 (00:45 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Tue, 7 Jan 2014 23:45:28 +0000 (00:45 +0100)
commit17f15dfec3f6c4d21d1d3d26db94524789b3e4e6
treefb939e6567ce08e74aafeb51d4fc0757cb2a0ccc
parent8a9cbfce3e53411436a86486b8b066aaf734f45f
Reset inputbox style if command mode is started or box cleared.

If there was shown a error message in inputbox and the user starts to enter a
new command or presses <Esc>, the inputbox keeps red colored until the timeout
reset the style back to normal.
This patch uses the vb_echo* functions to put the text into the input box,
that will set the style explicit to 'normal'.
src/mode.c
src/normal.c