Demos do not show cursor #25

Closed
opened 2026-03-23 13:19:00 -07:00 by eschnett · 6 comments
eschnett commented 2026-03-23 13:19:00 -07:00 (Migrated from github.com)

The "terminal" and "repl" demos do not show a cursor.

I am using WezTerm, the "paper" theme, and I have a light background.

The "terminal" and "repl" demos do not show a cursor. I am using WezTerm, the "paper" theme, and I have a light background.
kahliburke commented 2026-03-23 16:49:16 -07:00 (Migrated from github.com)

I will take a look at this, do you think it's specifically a light theme-centric issue?

I will take a look at this, do you think it's specifically a light theme-centric issue?
eschnett commented 2026-03-23 17:17:02 -07:00 (Migrated from github.com)

I don't know, I don't think so, but I wanted to give as much information as necessary. Maybe the cursor is set to "white block" and then I wouldn't have seen it.

I don't know, I don't think so, but I wanted to give as much information as necessary. Maybe the cursor is set to "white block" and then I wouldn't have seen it.
kahliburke commented 2026-03-23 17:33:29 -07:00 (Migrated from github.com)

Fixed in d4c4e0e on main — the cursor color inversion was using hardcoded Color256(0) / Color256(7) as fallbacks when cell colors were unset. On light themes (like Paper) these produce a nearly-invisible cursor against the terminal background.

The fix uses theme().bg and theme().text instead, which adapt to whichever theme is active. Should work correctly on both dark and light backgrounds now.

This fix will also be included in the upcoming Tachikoma 2.0 release.

Fixed in d4c4e0e on `main` — the cursor color inversion was using hardcoded `Color256(0)` / `Color256(7)` as fallbacks when cell colors were unset. On light themes (like Paper) these produce a nearly-invisible cursor against the terminal background. The fix uses `theme().bg` and `theme().text` instead, which adapt to whichever theme is active. Should work correctly on both dark and light backgrounds now. This fix will also be included in the upcoming Tachikoma 2.0 release.
kahliburke commented 2026-03-23 17:35:10 -07:00 (Migrated from github.com)

@eschnett, should be fixed, care to try it and let me know if it works for you now?

@eschnett, should be fixed, care to try it and let me know if it works for you now?
eschnett commented 2026-03-23 17:42:24 -07:00 (Migrated from github.com)

It's working!

It's working!
kahliburke commented 2026-03-24 03:24:29 -07:00 (Migrated from github.com)

Fixed in d4c4e0e (main) and dfdf221 (dev/v2.0-preview).

Fixed in d4c4e0e (main) and dfdf221 (dev/v2.0-preview).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kahliburke/Tachikoma.jl#25
No description provided.