From 308779dd4d79fb2a70e0a7f0d7b7aa5bd7b5b33c Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 11 May 2002 01:35:37 +0000 Subject: [PATCH] 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 --- src/fe-text/irssi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c index 1ceab272..00f5fdc5 100644 --- a/src/fe-text/irssi.c +++ b/src/fe-text/irssi.c @@ -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 */