I had apparently broken wrapping of double-width characters (again).
[u/mdw/putty] / terminal.c
index 54f86f8..b167f3b 100644 (file)
@@ -2882,6 +2882,7 @@ static void term_out(Terminal *term)
                            else if (term->curs.y < term->rows - 1)
                                term->curs.y++;
                            term->curs.x = 0;
+                           cline = scrlineptr(term->curs.y);
                            /* Now we must check_boundary again, of course. */
                            check_boundary(term, term->curs.x, term->curs.y);
                            check_boundary(term, term->curs.x+2, term->curs.y);