Better performance for command history.
authorDaniel Carl <danielcarl@gmx.de>
Fri, 29 Mar 2013 14:33:34 +0000 (15:33 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Fri, 29 Mar 2013 14:33:34 +0000 (15:33 +0100)
commit9e86e5936c2116094a70efad0898978dda1cd4ec
tree8fb787f4867740b39c874e4e532555f5ab3624c5
parenta87e8ff1a9edbfa656715699dac20996fd60be74
Better performance for command history.

Don't set the input colors and font for every printed string. This operation
is a show stopper. Now we change the style only if the message type changes or
the related settings are changed.
src/main.c
src/main.h
src/setting.c