diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-02-01 21:57:29 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-02-01 21:57:29 +0100 |
commit | 219c7d063823498be22aae46dd024d77b5fb2a58 (patch) | |
tree | d6e8c1a525626c2e7224271ee8113cf81c7839d9 /src/drawline.c | |
parent | ab067a21b9622513ed75f4801b001606eeaf2474 (diff) |
patch 8.2.0191: cannot put a terminal in a popup windowv8.2.0191
Problem: Cannot put a terminal in a popup window.
Solution: Allow opening a terminal in a popup window. It will always have
keyboard focus until closed.
Diffstat (limited to 'src/drawline.c')
-rw-r--r-- | src/drawline.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drawline.c b/src/drawline.c index 4723915830..176aa69598 100644 --- a/src/drawline.c +++ b/src/drawline.c @@ -491,7 +491,7 @@ win_line( { extra_check = TRUE; get_term_attr = TRUE; - win_attr = term_get_attr(wp->w_buffer, lnum, -1); + win_attr = term_get_attr(wp, lnum, -1); } #endif @@ -1419,7 +1419,7 @@ win_line( syntax_attr = 0; # ifdef FEAT_TERMINAL if (get_term_attr) - syntax_attr = term_get_attr(wp->w_buffer, lnum, vcol); + syntax_attr = term_get_attr(wp, lnum, vcol); # endif // Get syntax attribute. if (has_syntax) |