1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

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:
Timo Sirainen 2002-05-11 01:35:37 +00:00 committed by cras
parent 8df077426d
commit 308779dd4d

View File

@ -347,7 +347,9 @@ int main(int argc, char **argv)
/* Does the same as g_main_run(main_loop), except we
can call our dirty-checker after each iteration */
while (!quitting) {
term_refresh_freeze();
g_main_iteration(TRUE);
term_refresh_thaw();
if (reload_config) {
/* SIGHUP received, do /RELOAD */