Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support set cursor style (DECSCUSR) #480

Closed
Tyriar opened this issue Jan 15, 2017 · 1 comment
Closed

Support set cursor style (DECSCUSR) #480

Tyriar opened this issue Jan 15, 2017 · 1 comment
Assignees
Labels
type/enhancement Features or improvements to existing features

Comments

@Tyriar
Copy link
Member

Tyriar commented Jan 15, 2017

We should support the following CSI code to allow more fine-grained control of the cursor and also allow configuration via .bashrc (eg. adding echo -e "\e[5 q" for blinking bar)

CSI Ps SP q
          Set cursor style (DECSCUSR, VT520).
            Ps = 0  -> blinking block.
            Ps = 1  -> blinking block (default).
            Ps = 2  -> steady block.
            Ps = 3  -> blinking underline.
            Ps = 4  -> steady underline.
            Ps = 5  -> blinking bar (xterm).
            Ps = 6  -> steady bar (xterm).

Both xterm and gnome-terminal support this out of the box. This can be done after the Parser refactor is complete #462.

@Tyriar Tyriar added the feature label Jan 15, 2017
@Tyriar Tyriar self-assigned this Jan 15, 2017
Tyriar added a commit to Tyriar/xterm.js that referenced this issue Jan 16, 2017
@Tyriar
Copy link
Member Author

Tyriar commented Jan 16, 2017

Tyriar@1a67893 implements this, will wait until parser refactor #462 is merged before creating PR though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Features or improvements to existing features
Projects
None yet
Development

No branches or pull requests

1 participant