Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

i need smth like `ui.caretInvert: true`

  • 2 replies
  • 1 has this problem
  • Last reply by NN

more options

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.

Modified by NN

All Replies (2)

more options

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.

Modified by jscher2000

more options

Sorry, wasn't helpful, i found a 7 years old bug about that: