From 409c1778dc5747f50488f6debbeedad3fef25bb3 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 1 Jan 2006 15:03:49 +0000 Subject: [PATCH] *** empty log message *** --- src/command.C | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/command.C b/src/command.C index 9ae68f2a..13240e11 100644 --- a/src/command.C +++ b/src/command.C @@ -986,7 +986,7 @@ rxvt_term::check_cb (check_watcher &w) display->flush (); if (want_refresh && !flush_ev.active) - flush_ev.start (NOW + 0.01); + flush_ev.start (NOW + 1. / 60.); // refresh at max. 60 hz normally } void @@ -2696,6 +2696,7 @@ rxvt_term::cmd_parse () || (refresh_count >= refresh_limit * (nrow - 1))) { refreshnow = true; + refresh_count = 0; ch = NOCHAR; break; } @@ -2742,6 +2743,7 @@ rxvt_term::cmd_parse () { flag = true; scr_refresh (refresh_type); + flush_ev.stop (); } } -- 2.34.1