kingToolbox / kingToolbox/WindTerm

Pasting from outside will prepend ascii control chars

Open
#1,097 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
32.3k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

- Pasting text (using `ctrl+shift+v`) from outside will ___sometimes___ prepend `^[[200~` at the beginning and `~` at the end.
- Only happens when pasting single line of text (multiple lines of text will trigger the paste window and so fat nothing went wrong)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue by using ctrl+shift+v to paste a single line from outside WindTerm, then compare it with a multiline paste that opens the paste window. Trace the terminal paste-handling entry point and verify that completed single-line pastes no longer prepend ^[[200~ or append ~.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.