:terminal command$ echo -e "\033[?25l"Cursor should be no more visible.
Same sequence to control cursor visibility does work correctly in xterm, rxvt, eterm, EAT in Emacs.
Seems like it is just not (yet) implemented in Vim's terminal emulator, like basic term-mode or eshell emulators in Emacs.
9.1 p1-1975
Shell is bash, on Linux x86_64 system.
TERM == "xterm-256color"
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
works for me in putty terminal (with and without tmux) inside bash and zsh.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
works for me in putty terminal (with and without tmux) inside bash and zsh. Try running
vim --clean. Ah I see now, this is happening only in the gui.
Yes, this is issue in gvim (GTK+ UI). In non-gui version it is a question of underlying terminal.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
I traced $ echo -e "\033[?25l" with gdb on Windows gvim(twt=conpty) and eventually it goes to this branch:
https://github.com/vim/vim/blob/ad8138e7b64447e807840a54ae5829ebd0377afa/src/terminal.c#L3394-L3398
Because gui and tui vim have different cursor logic, setting term->tl_cursor_visible = false doesn't make make it truly invisible. The cursor got turned on somewhere.
The command does something to the cursor, it starts blinking at the end of line. I don't know why it's at there.
image.png (view on web)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()