Oops - that unscroll stuff was a little broken...
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 9 Dec 1999 17:10:28 +0000 (17:10 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 9 Dec 1999 17:10:28 +0000 (17:10 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@348 cda61777-01e9-0310-a592-d414129be87e

terminal.c

index 01fe663..d07f593 100644 (file)
@@ -150,7 +150,7 @@ void term_update(void) {
     Context ctx;
     ctx = get_ctx();
     if (ctx) {
-        if ( (seen_key_event && (unscroll_event & US_KEY)) &&
+        if ( (seen_key_event && (unscroll_event & US_KEY)) ||
             (seen_disp_event && (unscroll_event & US_DISP)) ) {
            disptop = scrtop;
            seen_disp_event = seen_key_event = 0;