diff options
| author | jixiuf <jixiuf@qq.com> | 2023-01-30 11:04:44 +0800 |
|---|---|---|
| committer | jixiuf <jixiuf@qq.com> | 2023-01-30 11:04:44 +0800 |
| commit | 0d190d15c01fa10daced80d2c947159473812ef6 (patch) | |
| tree | fcf304bc3200eb7b48a51e29aa8667c1196041a8 /vterm-module.c | |
| parent | e234872bfa9a634770fe50be18805b5e93785f48 (diff) | |
init is_invalidated in Fvterm_new
Diffstat (limited to 'vterm-module.c')
| -rw-r--r-- | vterm-module.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |
