Is there an existing issue for this?
Current Behavior
Sometimes, when toggling a terminal opened in the "tab" direction, I get this error:
Error executing Lua callback: ...cal/nvim-data/lazy/toggleterm.nvim/lua/toggleterm/ui.lua:351: Invalid window id: 1690
stack traceback:
[C]: in function 'nvim_win_close'
...cal/nvim-data/lazy/toggleterm.nvim/lua/toggleterm/ui.lua:351: in function 'close_tab'
...cal/nvim-data/lazy/toggleterm.nvim/lua/toggleterm/ui.lua:398: in function 'close'
...im-data/lazy/toggleterm.nvim/lua/toggleterm/terminal.lua:288: in function 'close'
...cal/nvim-data/lazy/toggleterm.nvim/lua/toggleterm/ui.lua:443: in function 'close_and_save_terminal_view'
.../Local/nvim-data/lazy/toggleterm.nvim/lua/toggleterm.lua:67: in function 'smart_toggle'
.../Local/nvim-data/lazy/toggleterm.nvim/lua/toggleterm.lua:297: in function 'toggle'
.../Local/nvim-data/lazy/toggleterm.nvim/lua/toggleterm.lua:270: in function 'toggle_command'
.../Local/nvim-data/lazy/toggleterm.nvim/lua/toggleterm.lua:425: in function <.../Local/nvim-data/lazy/toggleterm.nvim/lua/toggleterm.lua:425>
Expected Behavior
There should be no error.
Steps To Reproduce
- Open toggleterm in the tab direction
- Leave by
:bp
- Re-open toggleterm
- Try to close toggleterm (via
:ToggleTerm)
Environment
- OS: Windows 11
- neovim version: NVIM v0.11.3
- Shell: pwsh
Anything else?
No response
Is there an existing issue for this?
Current Behavior
Sometimes, when toggling a terminal opened in the "tab" direction, I get this error:
Expected Behavior
There should be no error.
Steps To Reproduce
:bp:ToggleTerm)Environment
Anything else?
No response