Home/End in ask_user answer input also scroll the timeline to top/bottom
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 66/100
Direzione di ricerca
Trova la scorciatoia di scorrimento Home/End aggiunta in v1.0.52 (#3470) e segui come controlla la posizione del cursore quando il dialogo ask_user ha il focus. Riproduci il problema seguendo i passaggi di questo issue, poi conferma che Home e End nel campo di risposta spostano il cursore senza scorrere la timeline; verifica che il campo di input normale della chat supporti ancora il comportamento documentato con due pressioni.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
While the agent is asking a question (ask_user / "Asking user"), pressing Home or End
inside the answer input moves the input cursor and also scrolls the conversation
timeline to the very top / bottom.
The Home/End scroll shortcut (added in v1.0.52, see #3470) is meant to fire only when
the text cursor is already at the start/end of the prompt. However, the check seems to
look at the main chat prompt rather than the input that currently has focus. While the
question dialog is open, the main prompt is usually empty, so its cursor counts as being
at both the start and the end. As a result, every Home/End press inside the dialog
triggers the scroll.
Ctrl+A / Ctrl+E inside the dialog move the cursor without scrolling, as expected.
Affected version
GitHub Copilot CLI 1.0.95.
Steps to reproduce the behavior
- Start an interactive session (alt-screen mode) with enough history to make the timeline scrollable.
- Ask the agent something that makes it call
ask_userwith a free-form answer. - Type a few words in the answer field, move the cursor to the middle, then press Home.
- The cursor jumps to the start of the answer, and the timeline also jumps to the top.
End behaves the same way: the timeline jumps to the bottom.
Expected behavior
While the question dialog has focus, Home/End should only move the cursor in the dialog's
input. Either scroll only when the dialog's own cursor is already at the start/end, or
turn off the timeline Home/End scrolling while the dialog is open.
Additional context
- The normal chat prompt works as documented: the first Home moves the cursor, and the
second Home scrolls. - OS: Linux (WSL2 on Windows 11)
- CPU architecture: x86_64
- Terminal emulator: WezTerm (Windows) → WSL → herdr 0.9.1 (terminal multiplexer).
herdr forwards a singleESC [ Hper Home press. - Shell: fish
- Lingua principale
- Shell
- Stelle
- 11.3k
- Fork
- 2k
- 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 github/copilot-cli
-
area:configuration area:input-keyboard
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
github/copilot-cli#5159 ·
-
area:sessions
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
github/copilot-cli#5147 · 1 commento ·
-
area:sessions
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
github/copilot-cli#4996 ·
-
triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
github/copilot-cli#4963 · 1 commento ·
-
triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
github/copilot-cli#4932 ·
Tutte le issue di github/copilot-cli
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
gke-labs/kube-agents#3394 ·
I maintainer di solito rispondono entro 1 giorno
-
area:cli bug good first issue priority:medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
rtk-ai/rtk#4615 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
gpu-gate: a failed process query marks the A6000 idleForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertareview-bot
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
bashclub/zamba-lxc-toolbox#158 ·