vercel / hyper

A terminal built on web technologies
https://hyper.is
MIT License
43.15k stars 3.49k forks source link

Unable to set text selection color on WebGL renderer on v3 #3632

Open FatehAK opened 5 years ago

FatehAK commented 5 years ago

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.

jcmnunes commented 5 years ago

Same problem here ☝️

ppot commented 5 years ago

Using your color-scheme: image

amandaflagg commented 5 years ago

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.

blakeperdue commented 1 year ago

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"