New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make :confirm bd
work for terminal buffers
#4651
Milestone
Comments
Also, I think that if the |
mhinz
added a commit
to mhinz/neovim
that referenced
this issue
Jul 11, 2018
Show a proper confirmation dialog when trying to unload a terminal buffer while the confirm option is set or when :confirm is used. Fixes neovim#4651
mhinz
added a commit
to mhinz/neovim
that referenced
this issue
Jul 11, 2018
Show a proper confirmation dialog when trying to unload a terminal buffer while the confirm option is set or when :confirm is used. Fixes neovim#4651
mhinz
added a commit
to mhinz/neovim
that referenced
this issue
Jul 11, 2018
Show a proper confirmation dialog when trying to unload a terminal buffer while the confirm option is set or when :confirm is used. Fixes neovim#4651
mhinz
added a commit
to mhinz/neovim
that referenced
this issue
Jul 11, 2018
Show a proper confirmation dialog when trying to unload a terminal buffer while the confirm option is set or when :confirm is used. Fixes neovim#4651
mhinz
added a commit
that referenced
this issue
Jul 12, 2018
Show a proper confirmation dialog when trying to unload a terminal buffer while the confirm option is set or when :confirm is used. Fixes #4651
coditva
pushed a commit
to coditva/neovim
that referenced
this issue
Jul 28, 2018
Show a proper confirmation dialog when trying to unload a terminal buffer while the confirm option is set or when :confirm is used. Fixes neovim#4651
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be nice if
:confirm bd
would work as with a changed buffer: it should ask for confirmation instead of requiring you to use:bd!
:Relevant code:
neovim/src/nvim/buffer.c
Lines 953 to 975 in ef205c3
Here
!buf->terminal
is checked for in the block that uses the dialog.I think there could be a new
dialog_terminal_kill
for this.The text was updated successfully, but these errors were encountered: