mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 00:08:19 +00:00
feat(terminal): TermClose: set exit code in v:event.status #15406
Closes #4713
This commit is contained in:
@@ -532,7 +532,7 @@ bool close_buffer(win_T *win, buf_T *buf, int action, bool abort_if_last)
|
||||
}
|
||||
|
||||
if (buf->terminal) {
|
||||
terminal_close(buf->terminal, NULL);
|
||||
terminal_close(buf->terminal, -1);
|
||||
}
|
||||
|
||||
// Always remove the buffer when there is no file name.
|
||||
|
Reference in New Issue
Block a user