Skip to content

TUI: clicking inside the input box does not move the text cursor #2179

Done

Description

@zjywill

Steps to reproduce

  1. Type a draft in the dimcode TUI input box.
  2. Click between two characters near the start of the draft.
  3. Type another character to check the insertion point.

Reported behavior: Clicking does not move the cursor to the clicked position.

Expected behavior: The cursor moves to the clicked position, and the next character is inserted there without needing the arrow keys.

Reported by a user; not independently reproduced yet.

Activity

  1. self-assigned this
    on Nov 26, 2026
  2. zjywill commented on Nov 26, 2026

    @zjywill
    CollaboratorAuthor

    The reported use case also includes scrollback. #2210 covers fullscreen; I am preparing a scrollback-only follow-up based on #2210, preserving its fullscreen behavior and tests. The follow-up will link both so the scrollback work remains visible if #2210 closes this issue.

  3. self-assigned this
    on Nov 26, 2026
  4. zjywill commented on Nov 26, 2026

    @zjywill
    CollaboratorAuthor

    Scrollback follow-up: #2211. It is stacked on #2210 so the review diff contains only scrollback support. Both cursor scenarios passed on the combined branch.

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

Metadata

Metadata

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