forked from PsychoticNinja/irssi
freeze/thaw before/after running glib main loop, so the cursor isn't moved
uselessly around. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2772 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
8df077426d
commit
308779dd4d
@ -347,7 +347,9 @@ int main(int argc, char **argv)
|
|||||||
/* Does the same as g_main_run(main_loop), except we
|
/* Does the same as g_main_run(main_loop), except we
|
||||||
can call our dirty-checker after each iteration */
|
can call our dirty-checker after each iteration */
|
||||||
while (!quitting) {
|
while (!quitting) {
|
||||||
|
term_refresh_freeze();
|
||||||
g_main_iteration(TRUE);
|
g_main_iteration(TRUE);
|
||||||
|
term_refresh_thaw();
|
||||||
|
|
||||||
if (reload_config) {
|
if (reload_config) {
|
||||||
/* SIGHUP received, do /RELOAD */
|
/* SIGHUP received, do /RELOAD */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user