Skip to content

feat(tui): support configurable cursor style, blink, and color#16947

Closed
fanyu wants to merge 8 commits intoanomalyco:devfrom
fanyu:feat/tui-cursor-style-color
Closed

feat(tui): support configurable cursor style, blink, and color#16947
fanyu wants to merge 8 commits intoanomalyco:devfrom
fanyu:feat/tui-cursor-style-color

Conversation

@fanyu
Copy link
Copy Markdown

@fanyu fanyu commented Mar 11, 2026

What does this PR do?

Fixes #11305 by adding configurable cursor behavior for TUI textareas.

Changes:

  • add cursor_style (block | line | underline) to TUI config
  • add cursor_blink (boolean) to TUI config
  • add cursor_color (hex #RRGGBB or theme color key) to TUI config
  • apply these options to TUI textareas (prompt/question/permission/dialog/export)
  • update docs for TUI config options

How did you verify your code works?

  • verified schema/typecheck for new TUI config options (config.ts + tui-schema.ts)
  • verified all touched textarea call sites now pass cursor style and color from TUI config
  • CI: typecheck and unit checks passed in previous runs on this branch; e2e failures were addressed by follow-up terminal toggle fix in app

@fanyu fanyu requested a review from adamdotdevin as a code owner March 11, 2026 01:00
@github-actions
Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions github-actions bot added the needs:compliance This means the issue will auto-close after 2 hours. label Mar 11, 2026
@github-actions
Copy link
Copy Markdown
Contributor

This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

Feel free to open a new pull request that follows our guidelines.

@github-actions github-actions bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Mar 11, 2026
@github-actions github-actions bot closed this Mar 11, 2026
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.

feat: add configurable cursor style for TUI textareas

1 participant