0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.0314: short name not set for terminal buffer

Problem:    Short name not set for terminal buffer.
Solution:   Set the short name. (closes #5687)
This commit is contained in:
Bram Moolenaar
2020-02-24 21:37:54 +01:00
parent fa29c8abd6
commit e010c720b2
3 changed files with 10 additions and 0 deletions

View File

@@ -566,6 +566,8 @@ term_start(
}
}
}
vim_free(curbuf->b_sfname);
curbuf->b_sfname = vim_strsave(curbuf->b_ffname);
curbuf->b_fname = curbuf->b_ffname;
if (opt->jo_term_opencmd != NULL)