spamming error when in command-line-window
jonboh opened this issue · comments
Jon commented
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 :)