1
0
forked from aniani/vim

patch 8.1.1457: cannot reuse a buffer when loading a screen dump

Problem:    Cannot reuse a buffer when loading a screen dump.
Solution:   Add the "bufnr" option.
This commit is contained in:
Bram Moolenaar
2019-06-03 21:14:59 +02:00
parent 98fb65cb05
commit 87abab92f5
6 changed files with 77 additions and 3 deletions

View File

@@ -9558,6 +9558,11 @@ term_dumpdiff({filename}, {filename} [, {options}])
"curwin" use the current window, do not split the
window; fails if the current buffer
cannot be |abandon|ed
"bufnr" do not create a new buffer, use the
existing buffer "bufnr". This buffer
must have been previously created with
term_dumpdiff() or term_dumpload() and
visible in a window.
"norestore" do not add the terminal window to a
session file