]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Oops - that unscroll stuff was a little broken...
authorSimon Tatham <anakin@pobox.com>
Thu, 9 Dec 1999 17:10:28 +0000 (17:10 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 9 Dec 1999 17:10:28 +0000 (17:10 +0000)
[originally from svn r348]

terminal.c

index 01fe663c40e7d470f17d5b464c5ec67f46cc0f3c..d07f5937fc013f00bf8b2a606b75b4e1303492b1 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;