mobile-shell/mosh

Cursor Color and Style changes

Open

#352 aberto em 22 de nov. de 2012

Ver no GitHub
 (18 comments) (37 reactions) (0 assignees)C++ (737 forks)batch import
Terminal emulationfeaturegood first issue

Métricas do repositório

Stars
 (12.063 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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

Guia do colaborador