Skip to content

Update control code to change cursor shape, 50 to 1337 #244

@bootleq

Description

@bootleq

Hi, the control code to change cursor shape (when starting/ending input in Vim) is a bit old.
It is OSC 50 (at d24ab42#L105-L112) which has been deprecated about 2015 by iTerm2 533930d8, because conflict to xterm.

Could we update it to 1337 as iTerm2 does?
Though most user just use 50 fine, please consider the case, if we do some co-work sharing Vim session with others, they might encounter trouble their terminal got unexpected code.

For example when I use mintty and connect to maximum-awesome user's tmux session, every time switching mode in Vim produce below prompt (with OSC 1337 the problem is gone):

mintty-unknown

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions