blinksh / blink

Blink Mobile Shell for iOS (Mosh based)
https://blink.sh
GNU General Public License v3.0
6.18k stars 577 forks source link

Block cursor hides current character; please make it visible #1395

Open pro-sumer opened 2 years ago

pro-sumer commented 2 years ago

The block cursor used by Blink hides the "current" character.

Please make this character visible (as well).

Possible solutions:

carloscabanero commented 2 years ago

This depends on your theme. Ie, the below has the cursor at 0.5 alpha so you can see what is below. https://github.com/blinksh/themes/blob/master/themes/3024%20Night.js

There are also options for cursor-shape, blink-cycle, etc...

Screen Shot 2022-02-14 at 2 45 06 PM
pro-sumer commented 2 years ago

Using 0.5 alpha does indeed work, but makes the cursor harder to see.

I would prefer the BEAM cursor, but that fails.

This is what I try:

t.prefs_.set('cursor-shape', 'BEAM');
t.prefs_.set('cursor-color', '#C1C0C0');

Blink does import this theme, but it throws an error when I try to activate it:

Failed to setup theme. Please check syntax of your theme.
Error: Unknown preference: cursor-shape

What should I use instead of cursor-shape?

carloscabanero commented 2 years ago

Got it, need to update and enable from our side.

EinJochel commented 1 month ago

Hello! Are there any updates on this issue?