Skip to content

feat: add configurable cursor appearance settings - #872

Open
gRoussac wants to merge 2 commits into
pop-os:masterfrom
gRoussac:cursor_options
Open

feat: add configurable cursor appearance settings#872
gRoussac wants to merge 2 commits into
pop-os:masterfrom
gRoussac:cursor_options

Conversation

@gRoussac

@gRoussac gRoussac commented Jul 13, 2026

Copy link
Copy Markdown

Summary

Adds user-configurable cursor settings to COSMIC Terminal: color (scheme or custom), focused/unfocused style (block, beam, underline, hollow block, or follow terminal), and blink behavior with interval.

Addresses pop-os/cosmic-epoch#522 — users can now set a beam (I-beam) cursor in settings instead of relying on the terminal emulator alone.

Related work (not in this PR)

Cursor fade in/out is also requested in pop-os/cosmic-epoch#603. An experimental implementation lives on my fork in cursor_options_fade. I am keeping fade out of this PR because it needs a larger rework for block cursors; I would rather land the core cursor options first and follow up separately.

  • I have disclosed use of any AI generated code in my commit messages.
  • I understand these changes in full and will be able to respond to review comments.
  • My change is accurately described in the commit message.
  • My contribution is tested and working as described.
  • I have read the Developer Certificate of Origin and certify my contribution under its conditions.

Test plan

  • Open Settings → Appearance → Cursor and verify color, style, unfocused style, and blink options
  • Set cursor style to Beam and confirm I-beam renders when focused
  • Set unfocused style to Hollow block and confirm behavior when window loses focus
  • Set custom cursor color and confirm it overrides the color scheme (default should match the active scheme, not hardcoded white)
  • Toggle blink settings (respect terminal / always / never) and confirm behavior
  • Restart the app and confirm settings persist (config v2)

gRoussac and others added 2 commits August 1, 2026 02:17
Add user settings for cursor color, style, unfocused style, and blink
behavior. Includes settings UI, config persistence (config v2), and
i18n strings.

AI-assisted: portions of this change were written with Cursor (LLM).

Signed-off-by: gRoussac <gRoussac@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
When switching to a custom cursor color, default to the scheme cursor
(or foreground) instead of hardcoded white. Matches the render fallback
chain used in terminal_box.

AI-assisted: portions of this change were written with Cursor (LLM).

Signed-off-by: gRoussac <gRoussac@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant