summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/terminal.c4
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 901bb9bed..7029f49ab 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -2145,7 +2145,11 @@ f_term_scrape(typval_T *argvars, typval_T *rettv)
pos.row = get_row_number(&argvars[1], term);
if (term->tl_vterm != NULL)
+ {
screen = vterm_obtain_screen(term->tl_vterm);
+ p = NULL;
+ line = NULL;
+ }
else
{
linenr_T lnum = pos.row + term->tl_scrollback_scrolled;
diff --git a/src/version.c b/src/version.c
index 5a1660aa7..e5cafdce7 100644
--- a/src/version.c
+++ b/src/version.c
@@ -770,6 +770,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 889,
+/**/
888,
/**/
887,