mark3labs / mark3labs/kit

Text selection in the TUI is awkward and makes copying partial output frustrating

Open
#14 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
134
Forks
24
Avg merge
8h 59m
Merged PRs (30d)
23

Description

One part of the TUI feels frustrating to use: selecting text with the mouse.

I cannot comfortably select text the way I normally would in a terminal app. For example, I cannot just hold Shift and select a larger fragment naturally. Instead, the behavior feels more like tmux copy mode or some kind of automatic copy handling.

This makes partial copying harder than it should be. If the selection is slightly off, I may not notice it right away. In a normal selection flow, I can immediately see what is highlighted and correct it before copying. Here, if it gets copied right away, I may only notice the mistake after pasting somewhere else.

Expected behavior:

  • Text selection should work as naturally as possible in the terminal
  • It should be easy to select and copy a specific fragment of output with the mouse
  • It should be easy to verify the exact selected text before copying

Actual behavior:

  • Text selection feels constrained or interfered with
  • Copying a partial piece of text is more frustrating than it should be
  • Slightly inaccurate selections are harder to catch before copying

Environment:

  • macOS 15.6.1

  • Apple Silicon

  • terminals tested:

    • Alacritty
    • Ghostty
  • kit installed with:

    go install github.com/mark3labs/kit/cmd/kit@latest
    

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the selection and copy behavior in the TUI installed through cmd/kit on macOS, using both Alacritty and Ghostty. Trace the TUI's mouse-selection handling and verify that users can select a partial fragment, inspect the highlighted text before copying, and copy only the intended output.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.