mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 08:32:07 +02: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:
parent
8df077426d
commit
308779dd4d
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue