From 5f05f03fb257b908ba60b121d58b484f47b930c9 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 15 Oct 2004 11:51:26 +0000 Subject: [PATCH] Add missing check_boundary() calls in destructive backspace handler. [originally from svn r4635] --- terminal.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/terminal.c b/terminal.c index c4d725ab..9f0f0615 100644 --- a/terminal.c +++ b/terminal.c @@ -2464,6 +2464,8 @@ void term_out(Terminal *term) term->wrapnext = FALSE; /* destructive backspace might be disabled */ if (!term->cfg.no_dbackspace) { + check_boundary(term, term->curs.x, term->curs.y); + check_boundary(term, term->curs.x+1, term->curs.y); copy_termchar(scrlineptr(term->curs.y), term->curs.x, &term->erase_char); }