From a6ab8db3a3dc5ec107ef023c6659620584309c97 Mon Sep 17 00:00:00 2001 From: Alan Third Date: Fri, 12 Oct 2018 21:45:03 +0100 Subject: [PATCH] Ensure NS frame is redrawn correctly after scroll * src/nsterm.m (ns_copy_bits): Set needsDisplay so the previous cursor position is redrawn. --- src/nsterm.m | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nsterm.m b/src/nsterm.m index d92d6c32448..8c355a89f8f 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -2721,6 +2721,7 @@ ns_copy_bits (struct frame *f, NSRect src, NSRect dest) [FRAME_NS_VIEW (f) scrollRect: src by: NSMakeSize (dest.origin.x - src.origin.x, dest.origin.y - src.origin.y)]; + [FRAME_NS_VIEW (f) setNeedsDisplay:YES]; } } -- 2.39.5