charmbracelet / charmbracelet/bubbletea
Windows: clipboard paste produces garbled characters that can't be deleted
- Dominant language
- Go
- Stars
- 44.9k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
## Problem
On Windows, pasting text from clipboard produces garbled/mojibake characters. These corrupted characters get inserted into the text input and cannot be deleted with backspace.
## Screenshot

## Environment
- OS: Windows
- bubbletea version: latest
## Expected Behavior
Pasted text should appear correctly and be fully editable/deletable.
## Actual Behavior
Pasted content appears as unreadable garbled characters and becomes stuck in the input field.
Contributor guide
Research direction
Reproduce the paste behavior on Windows using the latest bubbletea version, comparing clipboard input with normal typing and deletion. Trace the paste handling from the reproduction and verify that pasted text remains readable and can be fully removed with backspace.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100