cancel
Showing results for 
Search instead for 
Did you mean: 

i need smth like `ui.caretInvert: true`

Highlighted
New Contributor

i need smth like `ui.caretInvert: true`

subj. if i use `ui.caretWidth: 7` and `ui.caretBlinkTime: 0` the letter(s) right next to the cursor position are just blocked by/hidden behind the caret.

like in terminal the letter caret is pointing to gets inverted, so it stays clear and visible all the time.

2 REPLIES
Legendary Contributor

Re: i need smth like `ui.caretInvert: true`

Are these hidden preferences??

The caret color is based on your OS theme and I'm not aware of a way to override that directly. You can override the text colors used by pages, and if the cursor does not take on that new color, the visibility would be better, but that's a rather drastic solution. Maybe not so bad if you're just changing form controls, but if you are trying to change "rich text" editors such as webmail editors, then it might be hard to target it precisely. This doesn't seem to work because when the text is white on a dark background, the caret turns white.

Note: I would use the Stylish extension for experimenting with changes. You also can right-click an element and use Inspect, then turn on the style pane using the button in the lower right corner to play with the style rules.

New Contributor

Re: i need smth like `ui.caretInvert: true`

Sorry, wasn't helpful, i found a 7 years old bug about that: https://bugzilla.mozilla.org/show_bug.cgi?id=359497