blinksh/docs

edit: sorry, wrong repo

Closed this issue · 1 comments

xero commented

is there a way to configure both the foreground and background color of the cursor?

i’ve tried adding multiple values e.g. t.prefs_.set('cursor-color', '#918f6e', ‘#c1c1c1’); in my theme w/o any luck: https://github.com/xero/dotfiles/blob/main/blink/miasma.js#L29

it makes it kinda difficult in neovim when your cursor covers the entire character

example:

note the “l” in the word “visual” of both lines is the cursor.

i’m changing the focus between two tmux split panes to illustrate it only effects where the active cursor is:

IMG_0080

IMG_0081

version:

Blink: v16.2.0.785 (Test Flight). Jul 14 2023

xero commented

i’m sorry i opened this in the wrong repo 🙈

also, i read through open issues on the correct repo… and there’s currently no way to fix this beyond setting an alpha value on the color. i settled on 50% opacity:
t.prefs_.set('cursor-color', 'rgba(105, 168, 80, 0.5)');

https://github.com/xero/dotfiles/blob/main/blink/miasma.js#L22