neoclide / coc-lists

Common lists for coc.nvim
264 stars 24 forks source link

Keep pressing <up> or <down> makes the CocList Exit and left an 'A' on the screen occasionally. #129

Closed Littledarren closed 2 years ago

Littledarren commented 2 years ago

Environment:

CocInfo gives:

image

coc-list's version is 1.4.2 which is told to be up to date.

I am using ssh with windows terminal to a remote centos without gui support. And it seems coc-nvim needs the star register or reg *, which might cause some problem.

Reproduction:

use :CocList snippets or :CocList extensions. Keep pressing <up> key to let the cursor move upward and you will get stuck with a mysterious character like A or B on your screen.

If you can not reproduce it consistently, try to reboot your vim.

I am not sure where this bug comes from, so it might be nothing to do with coc-list.

image

What I expect:

I expect that pressing won't let me exit the coc-list.

The Log:

image

Littledarren commented 2 years ago

Can not reproduce in my wsl2 ubuntu. So I suspect the bug comes from that coc-nvim depends on the star register.

chemzqm commented 2 years ago

Known issue with vim8