Tuesday, May 28, 2019

Re: Cursor shape in the console

This simpler version works in konsole but does nothing in xterm and in
the Linux console. I haven't found how to make it work in both konsole
and xterm but I'm giving up, I don't use Vim in xterm that much. Also
I left out the test on exists('&t_SR') because I on't use Vim 7 (or
earlier) anymore at all.

if !has('gui_running') && has('cursorshape')
let &t_EI = "\<Esc>]50;CursorShape=0\x7"
let &t_SI = "\<Esc>]50;CursorShape=1\x7"
let &t_SR = "\<Esc>]50;CursorShape=2\x7"
endif


Best regards,
Tony.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAJkCKXsSHBfnLvF51N_xTMUXtcZqU%3Dk1cM79U7q%3D3wTC%3Dcev7A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments: