Yes, thank you so much. This works for me too. On Sun, Jul 21, 2024 at 10:26 PM Stefan Kangas wrote: > Gerd Möllmann writes: > > > 1 file changed, 4 insertions(+) > > src/nsterm.m | 4 ++++ > > > > modified src/nsterm.m > > @@ -3137,6 +3137,10 @@ Note that CURSOR_WIDTH is meaningful only for > (h)bar cursors. > > if ((cursor_glyph->resolved_level & 1) != 0) > > s.origin.x += cursor_glyph->pixel_width - s.size.width; > > > > + /* Get rid of the clipping set previously. */ > > + [ctx restoreGraphicsState]; > > + [ctx saveGraphicsState]; > > + NSRectClip (s); > > NSRectFill (s); > > [ctx restoreGraphicsState]; > > break; > > > > This fixes the bug for me. >