Closed Riverside96 closed 1 year ago
I have the same problem but until this gets fixed, I use a function that closes all floats and mapped it to a key. So now whenever the output gets stuck, I just press the keybind and its back to normal. Not optimal but not a reason for me to stop using magma.
local function close_float()
-- removes any stuck floating window
for _, win in ipairs(vim.api.nvim_list_wins()) do
local config = vim.api.nvim_win_get_config(win)
if config.relative ~= "" then
vim.api.nvim_win_close(win, false)
print("Closing window", win)
end
end
end
Thanks. This could be handy for now. It's a shame as the integration is really nice.
I believe, this is now fixed
the Delete function does not work but instead leaves the output "stuck" while the ReevaluateCell does work but again leaves the previous output "stuck"