aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/string-utils.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2015-03-10 04:26:58 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2015-03-10 04:51:20 +0100
commite88f9bb28500bdf2bfe5106b565ab56a0b601239 (patch)
treec96410b63d2c63f42ab945b01d2d1b811bebbc5a /src/string-utils.h
parent1d26dd19d09bf1fb764d1c5bef54eb05d1f4c2df (diff)
downloadsciteco-e88f9bb28500bdf2bfe5106b565ab56a0b601239.tar.gz
avoid frequent info line redraws in Curses and GTK+ UIs
* it is now redrawn once after each key press, even if the info line has not changed. * This is because Interface::update_info() is called very often in interactive mode, so it makes more sense to redraw it after user interaction (where even unnecessary delays are not noticed so easily), than thousands of times in a macro. * This is especially important since InterfaceCurses::update_info() now also sets the Window title on PDCurses - this is a very costly operation. * The same optimization was applied to InterfaceGtk where it is probably greatly responsible for the sluggishness of the UI. The GTK+ changes are currently UNTESTED.
Diffstat (limited to 'src/string-utils.h')
0 files changed, 0 insertions, 0 deletions