commit | aeed2a6359e9ca692e1397884c3678685132d360 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Apr 29 20:18:45 2021 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Apr 29 20:18:45 2021 +0200 |
tree | 670df20bf9e7a3f5715c77b6faa7f568667e8dff | |
parent | 227c58a486d2459e7bf6ed2c917ede7e324e3570 [diff] [blame] |
patch 8.2.2818: no jump added when opening terminal in current window Problem: No jump added to jumplist when opening terminal in current window. Solution: Call setpcmark(). (closes #8158)
diff --git a/src/terminal.c b/src/terminal.c index 6f07055..ce9f64b 100644 --- a/src/terminal.c +++ b/src/terminal.c
@@ -473,6 +473,7 @@ 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) {