Skip to content

Text selection improvements #6491

Closed
Closed

Description

@mgesbert

When selecting some text across several widgets, the UI is buggy: selection is slow, the behavior is unpredictable when the user moves the mouse, selection might not start if the user clicks the wrong part of the UI, having so few text selected feels unnatural. Would it be possible to have something similar to what Claude Code proposes in their Fullscreen rendering mode? (CLAUDE_CODE_NO_FLICKER=1 claude)

Screen.Recording.2026-04-15.at.12.21.55.mov

Activity

  1. github-actions commented on Apr 15, 2026

    @github-actions

    Thank you for your issue. Give us a little time to review it.

    PS. You might want to check the FAQ if you haven't done so already.

    This project is developed and maintained by Will McGugan. Consider sponsoring Will's work on this project (and others).

    This is an automated reply, generated by FAQtory

  2. willmcgugan commented on Apr 16, 2026

    @willmcgugan
    Member

    Claude does a simple screen-space selection, which is simple to implement, but offers poor ergonomics everywhere else. You can't select wrapped text from a table cell for instance. It will copy box drawing characters, which you rarely want. The selection breaks when you resize the screen, and a variety of other issues. So I don't think we want to implement something exactly like Claude.

    But I do see the flaw that Textual won't start selecting unless you start on a character. I'm sure I can fix that.

    You said selection is slow. In what way? Selecting through a large Markdown document, I see no lag.

    Suggest we jump on a call and share screens. It's often easier just to show something as it happens.

  3. self-assigned this
    on Apr 16, 2026
  4. github-actions commented on May 13, 2026

    @github-actions

    I hope I solved your issue!

    Consider sponsoring my work to continue to maintain and develop Textual.

    • Will McGugan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions