From 0d190d15c01fa10daced80d2c947159473812ef6 Mon Sep 17 00:00:00 2001 From: jixiuf Date: Mon, 30 Jan 2023 11:04:44 +0800 Subject: init is_invalidated in Fvterm_new --- vterm-module.c | 1 + 1 file changed, 1 insertion(+) diff --git a/vterm-module.c b/vterm-module.c index 93942e1..b599a37 100644 --- a/vterm-module.c +++ b/vterm-module.c @@ -1250,6 +1250,7 @@ emacs_value Fvterm_new(emacs_env *env, ptrdiff_t nargs, emacs_value args[], term->sb_buffer = malloc(sizeof(ScrollbackLine *) * term->sb_size); term->invalid_start = 0; term->invalid_end = rows; + term->is_invalidated = false; term->width = cols; term->height = rows; term->height_resize = 0; -- cgit v1.0