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 f95ab83 commit c88146eCopy full SHA for c88146e
lua/dap-view/events.lua
@@ -27,11 +27,7 @@ dap.listeners.before.initialize[SUBSCRIPTION_ID] = function(session, _)
27
--
28
-- To address that, we only close the terminal if the new session has a different adapter
29
-- (which should cover most scenarios where the flickering would occur)
30
- --
31
- -- Since there has not been a `last_active_adapter` yet, we don't need to
32
- -- call `delete_term_buf`, which conflicts with bootstrapping the terminal
33
- -- window. See: https://github.com/igorlfs/nvim-dap-view/issues/18
34
- if state.last_active_adapter and state.last_active_adapter ~= adapter then
+ if state.last_active_adapter ~= adapter then
35
term.delete_term_buf()
36
end
37
state.last_active_adapter = adapter
0 commit comments