Hyper: Specify cursor selection/highlight colour

Created on 10 Jan 2018  路  4Comments  路  Source: vercel/hyper

  • [x] I am on the latest Hyper.app version
  • [x] I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: MacOS High Sierra
  • Hyper.app version: 2.0.0-canary.9
  • Link of a Gist with the contents of your .hyper.js: Gist
  • Relevant information from devtools _(CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere)_: None
  • The issue is reproducible in vanilla Hyper.app: Yes

Issue

I'm unable to figure out what the correct incarnation to specify the selection colour. Cursor colour I can manage but the selection colour remains a resolute light purple colour.

screenshot 2018-01-10 11 25 51

I've searched around on the xterm.js project too but can't find anything there either. This must be something thats been solved.

Most helpful comment

Add a selectionColor: <color> in your config :)

There is no documentation yet. 馃槥

I encourage you to backup your config file, remove it and launch Hyper. A new default config file will be created with all new settings.

All 4 comments

Add a selectionColor: <color> in your config :)

There is no documentation yet. 馃槥

I encourage you to backup your config file, remove it and launch Hyper. A new default config file will be created with all new settings.

Thats the one :)

Something I'm confused about is the versioning of Hyper. Around the web I see versions referred to as 2.1 and 2.0.4 but on the project there is just the 2.0.0-canary versions.

Thanks for the help.

We have changed our versionning and introduced -canary suffix.
All 2.0.0-canary.X are newer than 2.0.X and 2.X.X previously distributed on canary channel.

Sorry for this confusion

As @chabou mentioned, the solution is to add selectionColor: 'rgba(R_Intensity, G_Intensity, B_Intensity, Opacity)' to the config section in your hyper.js file (often found at ~/.hyper.js)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hxnt picture hxnt  路  3Comments

yvan-sraka picture yvan-sraka  路  3Comments

laur1s picture laur1s  路  3Comments

stan-stripe picture stan-stripe  路  3Comments

eoinmurray picture eoinmurray  路  3Comments