mobile-shell/mosh

Cursor Color and Style changes

Open

#352 建立於 2012年11月22日

在 GitHub 查看
 (18 留言) (37 反應) (0 負責人)C++ (737 fork)batch import
Terminal emulationfeaturegood first issue

倉庫指標

Star
 (12,063 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南