Skip to content

Cursor Color and Style changes #352

@Shoozza

Description

@Shoozza

MinTTY allows to change cursor styles and colors but mosh ignores them.
This would be useful for vim (different insert and normal mode cursors)

Mode-dependent cursor in vim:
CSI Ps SP q

Example: echo -ne '\e]12;#00FF00\a' # green cursor
http://code.google.com/p/mintty/wiki/Tips#Mode-dependent_cursor_in_vim

Changing colors:
OSC Ps ; Pt ST
OSC Ps ; Pt BEL

Example: echo -ne "\e[2 q" # non blinking block cursor
http://code.google.com/p/mintty/wiki/Tips#Changing_colours


Xterm Control Sequences taken from
http://invisible-island.net/xterm/ctlseqs/ctlseqs.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions