When an image is displayed and one opens the [Command Line] history (with q:) image.nvim throws a huge amount of errors until the command-line-window is closed.
It seems that the original error is this (which appears with some actions in the command-line-window):
In order to avoid the problem I think it would be enough to check getcmdwintype() and prevent issuing whatever is triggering the error when getcmdwintype()!=''. I'll try to submit a PR if it works :)
When an image is displayed and one opens the [Command Line] history (with![image](https://github.com/3rd/image.nvim/assets/31407988/eb13572c-1d86-4b42-be9a-b2bcbd120ed8)
q:
) image.nvim throws a huge amount of errors until the command-line-window is closed.It seems that the original error is this (which appears with some actions in the![image](https://github.com/3rd/image.nvim/assets/31407988/8aeb0ae3-af41-4296-b3a8-943382991539)
command-line-window
):In order to avoid the problem I think it would be enough to check
getcmdwintype()
and prevent issuing whatever is triggering the error whengetcmdwintype()!=''
. I'll try to submit a PR if it works :)