claude-code - 💡(How to fix) Fix [FEATURE] customizable terminal input box cursor shape [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#54518Fetched 2026-04-30 06:43:26
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×3
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

The input box cursor in Claude Code's TUI is displayed as a Block cursor by default. This differs from the standard Vertical Bar
cursor used in most terminal applications (zsh, bash, fish, etc.).

Current situation:

  • The cursor shape is hard-coded — there is no configuration option to change it
  • This is not related to Vim mode (which also shows a Block cursor)
  • Terminal-level cursor settings do not affect Claude Code's TUI renderer
  • The Block cursor feels unnatural for users accustomed to standard shell environments

Proposed Solution

Add a configuration option in settings.json to customize the input cursor shape:

{                                                                                                                                             
  "cursorShape": "line"  // "line" (default) | "block" | "underline"                                                                          
}

extent analysis

TL;DR

Add a "cursorShape" configuration option to the settings.json file to allow users to customize the input cursor shape.

Guidance

  • Review the proposed solution and consider adding the "cursorShape" option to the settings.json file with possible values "line", "block", and "underline".
  • Verify that the TUI renderer is updated to respect the new configuration option and render the cursor accordingly.
  • Test the new configuration option with different cursor shapes to ensure it works as expected.
  • Consider adding a default value for the "cursorShape" option to ensure backward compatibility.

Example

{
  "cursorShape": "line"  // "line" (default) | "block" | "underline"
}

Notes

The solution assumes that the TUI renderer can be updated to respect the new configuration option. Additional work may be required to implement the rendering of different cursor shapes.

Recommendation

Apply workaround by adding the proposed "cursorShape" configuration option to the settings.json file, as it provides a flexible solution for users to customize the input cursor shape.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [FEATURE] customizable terminal input box cursor shape [1 participants]