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

Document Cursor Shape Escape Sequences #140

Closed
rksouthee opened this issue Jun 11, 2020 · 1 comment · Fixed by #261
Closed

Document Cursor Shape Escape Sequences #140

rksouthee opened this issue Jun 11, 2020 · 1 comment · Fixed by #261

Comments

@rksouthee
Copy link

Windows Console has support for using Virtual Terminal Sequences to change the cursor shape. I've used the following sequences and they all seem to work.

  • ESC [ 0 SP q blinking block
  • ESC [ 1 SP q blinking block
  • ESC [ 2 SP q steady block
  • ESC [ 3 SP q blinking underline
  • ESC [ 4 SP q steady underline
  • ESC [ 5 SP q blinking bar
  • ESC [ 6 SP q steady bar

Where SP is a literal space character.

@KalleOlaviNiemitalo
Copy link

microsoft/terminal#7379 changed ESC [ 0 SP q to mean the default cursor shape configured by the user. microsoft/terminal#1604 (comment) says that change is in a Windows Insider build, so it is not specific to Windows Terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants