Skip to content

Set cursor color via ANSI escape sequence #945

Description

@meowgorithm

I noticed in Rio (v0.26 woo!) the cursor color can't be set via an OSC sequence.

# Change cursor color via named color
printf '\x1b]12;red\x07'

# Set cursor color by hex color
printf '\x1b]12;#FF0000\x07'

# Reset cursor to default color
printf "\x1b]112\x07"

If it helps, this is what Sequin says about it.

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions