Skip to content

🐛 Cursor invisible in prompt box when using light theme #730

@DanielleMaywood

Description

@DanielleMaywood

Description

The text cursor is invisible in the prompt box when using the light theme, making it difficult to see where you're typing.

Affected Areas

  • Insert mode cursor (standard text caret)
  • Vim normal mode block cursor (rendered as 1-char selection)
  • Vim empty-buffer cursor indicator

Root Cause

VimTextArea.tsx uses hardcoded white cursor colors:

  • caret-white class
  • selection:bg-white/50 for vim normal mode
  • bg-white/50 for empty-buffer indicator

This works fine in dark theme (nearly black background) but is invisible in light theme (nearly white background).

Expected Behavior

Cursor should be visible in both light and dark themes with appropriate contrasting colors.

Actual Behavior

White cursor on nearly-white background is effectively invisible.

Environment

  • Theme: Light
  • Component: VimTextArea prompt input

Generated with mux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions