1
0
forked from aniani/vim

patch 8.0.0965: not restoring cursor shape after it was set in a terminal

Problem:    The cursor shape is not reset after it was changed in a terminal.
Solution:   Request the original cursor shape and restore it.  Add t_RS.
            Do not add t_SH for now, it does not work properly.
This commit is contained in:
Bram Moolenaar
2017-08-19 19:40:50 +02:00
parent 683b796725
commit 3eee06e7d4
5 changed files with 132 additions and 48 deletions

View File

@@ -3179,6 +3179,7 @@ static struct vimoption options[] =
p_term("t_SC", T_CSC)
p_term("t_EC", T_CEC)
p_term("t_SH", T_CSH)
p_term("t_RS", T_CRS)
p_term("t_IS", T_CIS)
p_term("t_ke", T_KE)
p_term("t_ks", T_KS)