hyper icon indicating copy to clipboard operation
hyper copied to clipboard

Unable to set text selection color on WebGL renderer on v3

Open FatehAK opened this issue 5 years ago • 4 comments

  • [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: Windows 10
  • Hyper.app version: v3 stable
  • Link of a Gist with the contents of your .hyper.js:
  • The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue

Using Hyper with the WebGL renderer causes the text selection color default to white even though I have set my custom text selection color in .hyper.js. WebGL doesn't support transparent colors, so I have set my custom color to be non-transparent but still there is no color just white background and black foreground kind of selection.

FatehAK avatar May 08 '19 15:05 FatehAK

Same problem here ☝️

jcmnunes avatar May 17 '19 20:05 jcmnunes

Using your color-scheme: image

ppot avatar May 17 '19 21:05 ppot

I have this same issue on Mac OSX intermittently. Toggling the webGLRenderer (from true to false, back to true) in the hyper.js config file seems to clear it up.

amandaflagg avatar Aug 22 '19 22:08 amandaflagg

But you miss out on all the webGLRenderer benefits by disabling it. Is there a way to accomplish this? Seems like having two selection config variables for this would be ideal:

"selectionBackground": "#0f0",
"selectionForeground": "#010"

blakeperdue avatar Aug 04 '23 06:08 blakeperdue