We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee21f3b commit d33b905Copy full SHA for d33b905
lua/dapui/windows/layout.lua
@@ -153,7 +153,8 @@ function WindowLayout:close()
153
vim.cmd("stopinsert") -- Prompt buffers act poorly when closed in insert mode, see #33
154
end
155
pcall(api.nvim_win_close, win, true)
156
- if vim.fn.bufname(buf) ~= "[dap-repl]"
+ if
157
+ vim.fn.bufname(buf) ~= "[dap-repl]"
158
and api.nvim_buf_get_option(buf, "buftype") ~= "terminal"
159
then
160
api.nvim_buf_delete(buf, { force = true, unload = false })
0 commit comments