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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user