In SCREEN-FORCE-UPDATE, forget the cursor position, so that it will be
authorChris Hanson <org/chris-hanson/cph>
Tue, 14 May 1996 23:46:07 +0000 (23:46 +0000)
committerChris Hanson <org/chris-hanson/cph>
Tue, 14 May 1996 23:46:07 +0000 (23:46 +0000)
updated during the redisplay.

v7/src/edwin/screen.scm

index e71c6d0cabdc6f27aeb6bce4fbc9bab9f9d237b4..1f3d20dec14be027cf2c2d2256f199924f9bcac5 100644 (file)
@@ -1,6 +1,6 @@
 ;;; -*-Scheme-*-
 ;;;
-;;;    $Id: screen.scm,v 1.110 1996/05/14 05:41:08 cph Exp $
+;;;    $Id: screen.scm,v 1.111 1996/05/14 23:46:07 cph Exp $
 ;;;
 ;;;    Copyright (c) 1989-96 Massachusetts Institute of Technology
 ;;;
                    (boolean-vector-set! new-hl-enable y true)))))
        (string-fill! (vector-ref current-contents y) #\space)
        (boolean-vector-set! current-enable y true)
-       (boolean-vector-set! current-hl-enable y false))))
+       (boolean-vector-set! current-hl-enable y false)))
+    (set-matrix-cursor-x! new-matrix (matrix-cursor-x current-matrix))
+    (set-matrix-cursor-y! new-matrix (matrix-cursor-y current-matrix))
+    (set-matrix-cursor-x! current-matrix #f)
+    (set-matrix-cursor-y! current-matrix #f))
   (set-screen-needs-update?! screen true))
 \f
 (define (screen-scroll-lines-down screen xl xu yl yu amount)