The copy and paste feature is not working in the shell. It produces two instances of the copy
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 58/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- typescript
Direzione di ricerca
Start by reading ShellTerminal.tsx:395-398 and useTerminalInput.ts:381-395, then trace how createPasteHandler() and xterm.js onData() handle paste events. Reproduce the Ctrl/Cmd+V duplication and inspect the existing test setup. Done means paste appears once on Windows/Linux and Mac without breaking other keyboard input, with a regression test added.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
When pasting text into the ShellTerminal using Ctrl/Cmd+V, the pasted content appears twice instead of once.
Steps to Reproduce
- Open the application
- Navigate to the ShellTerminal component
- Copy some text (e.g.,
echo "test") - Paste it using Ctrl+V (Windows/Linux) or Cmd+V (Mac)
- Expected: Text appears once:
echo "test" - Actual: Text appears twice:
echo "test"echo "test"or similar duplication
Technical Context
- Location:
ShellTerminal.tsx:395-398anduseTerminalInput.ts:381-395 - Suspected cause: Duplicate event handling - both custom
createPasteHandler()and xterm.jsonData()event fire for paste operations - Affected users: All users who copy/paste into the terminal
Acceptance Criteria
- Pasted content appears exactly once in the terminal
- Paste works correctly with Ctrl+V (Windows/Linux) and Cmd+V (Mac)
- No regression in other keyboard input handling
- Test added to prevent regression
- Lingua principale
- TypeScript
- Stelle
- 1
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di jcollard/LuaInTheWeb
-
tech-debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
jcollard/LuaInTheWeb#752 ·
-
tech-debt
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
jcollard/LuaInTheWeb#690 ·
-
tech-debt
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
jcollard/LuaInTheWeb#590 ·
-
tech-debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
jcollard/LuaInTheWeb#518 ·
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
jcollard/LuaInTheWeb#235 ·
Tutte le issue di jcollard/LuaInTheWeb
Issue simili
-
cleanName keeps a state code that's joined to the word before it (SavannahGa → "Savannah Ga")Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
openwatersio/slackwater-database#281 ·
I maintainer di solito rispondono entro 1 giorno
-
accepted bug via-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
pingdotgg/t3code#18690 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Bayern feature:Application ready web
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
digitalfabrik/entitlementcard#3176 ·
I maintainer di solito rispondono entro 7 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
NanmiCoder/cc-haha#1533 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno