diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-04-29 20:18:45 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-04-29 20:18:45 +0200 |
commit | aeed2a6359e9ca692e1397884c3678685132d360 (patch) | |
tree | 670df20bf9e7a3f5715c77b6faa7f568667e8dff /src/terminal.c | |
parent | 227c58a486d2459e7bf6ed2c917ede7e324e3570 (diff) | |
download | vim-git-aeed2a6359e9ca692e1397884c3678685132d360.tar.gz |
patch 8.2.2818: no jump added when opening terminal in current windowv8.2.2818
Problem: No jump added to jumplist when opening terminal in current window.
Solution: Call setpcmark(). (closes #8158)
Diffstat (limited to 'src/terminal.c')
-rw-r--r-- | src/terminal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/terminal.c b/src/terminal.c index 6f07055eb..ce9f64be1 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -473,6 +473,7 @@ term_start( ga_init2(&term->tl_scrollback_postponed, sizeof(sb_line_T), 300); ga_init2(&term->tl_osc_buf, sizeof(char), 300); + setpcmark(); CLEAR_FIELD(split_ea); if (opt->jo_curwin) { |