I remember Bram was strict about having cursor always visible if popup overlaps it.
But it was probably before ppl figured out how to fake input boxes using popups. And if you have it faked, there are 2 visible cursors that is less than ideal.
Would it make sense to have a popup option to hide cursor if it is overlapped?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
#14436 can fix the problem.
—
Reply to this email directly, view it on GitHub,.
You are receiving this because you are subscribed to this thread.![]()
You can use set t_ve= in CUI Vim. It does not work for GVim. But in GVim Cursor highlight works instead.
—
Reply to this email directly, view it on GitHub,.
You are receiving this because you are subscribed to this thread.![]()
yes, indeed. thx!
—
Reply to this email directly, view it on GitHub,.
You are receiving this because you are subscribed to this thread.![]()
i am curious where that second cursor came from, maybe that's not a pure vim popup,
if i guess correctly, then that may originally can hide the cursor by raw esc code already.
—
Reply to this email directly, view it on GitHub,.
You are receiving this because you are subscribed to this thread.![]()
That is a fake cursor in a pure vim popup.
—
Reply to this email directly, view it on GitHub,.
You are receiving this because you are subscribed to this thread.![]()
Closed #14227 as resolved.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
I have workaround-ed it with
# hide cursor
set t_ve=
var gui_cursor = hlget("Cursor")
hlset([{name: 'Cursor', cleared: true}])
and
# restore cursor
set t_ve&
if hlget("Cursor")[0]->get('cleared', false)
hlset(gui_cursor)
endif
—
Reply to this email directly, view it on GitHub,.
You are receiving this because you are subscribed to this thread.![]()