diff options
Diffstat (limited to 'src/nvim/term.c')
-rw-r--r-- | src/nvim/term.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/term.c b/src/nvim/term.c index 34cc90620b..664d8d962b 100644 --- a/src/nvim/term.c +++ b/src/nvim/term.c @@ -2874,11 +2874,11 @@ void term_cursor_shape(void) */ void scroll_region_set(win_T *wp, int off) { - OUT_STR(tgoto((char *)T_CS, W_WINROW(wp) + wp->w_height - 1, - W_WINROW(wp) + off)); + OUT_STR(tgoto((char *)T_CS, wp->w_winrow + wp->w_height - 1, + wp->w_winrow + off)); if (*T_CSV != NUL && wp->w_width != Columns) - OUT_STR(tgoto((char *)T_CSV, W_WINCOL(wp) + wp->w_width - 1, - W_WINCOL(wp))); + OUT_STR(tgoto((char *)T_CSV, wp->w_wincol + wp->w_width - 1, + wp->w_wincol)); screen_start(); /* don't know where cursor is now */ } |