github / github/copilot-cli

Show current command above input box for demo audience

Aperta
#4,794 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

triage
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

Describe the feature or problem you'd like to solve

In demos, when watching user using GHCP CLI, when they submit a command it is nonlonger visible so it is hard for the audience to follow, especially for those that use subtitles and are reading while the command is typedand

Proposed solution

UX Improvement Request — Copilot CLI Command Visibility

Summary
The Copilot CLI UI clears the command input after execution, which makes it difficult for observers during demos to see what command was just run. This reduces clarity when presenting workflows or teaching the tool.

Problem
When a command is executed, the UI refreshes and the previous command disappears from view. In demo or training scenarios, the audience cannot see the command that triggered the current output, which causes confusion and interrupts the flow of explanation.

Expected Behavior
The UI should retain a small, unobtrusive line showing the previously executed command directly above the current input prompt. This would allow viewers to understand what is being demonstrated without relying on verbal repetition.

Why This Matters

  • The command can be typed too fast to comprehend
  • Improves demo clarity
  • Helps audiences follow along
  • Makes the CLI more intuitive during presentations
  • Reduces friction for trainers and advocates
  • Accommodates those using subtitles.

Proposed Enhancement
Add a “last command” line above the input prompt that persists until the next command is run. This mirrors common UX patterns in interactive CLI tools and significantly improves usability in live demos.

If you want, I can also generate a shorter version or a more formal version.

Example prompts or workflows

No response

Additional context

No response

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Non è indicato alcun file o test. Inizia individuando i punti di ingresso dell’input della CLI e dell’esecuzione dei comandi, quindi segui il percorso fino a dove l’input viene cancellato e la vista dell’output viene aggiornata. Il lavoro è completato quando il comando eseguito più recentemente rimane visibile in una piccola riga sopra l’input corrente fino all’esecuzione di un altro comando, senza interrompere l’interazione normale.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
shell
Ambito
cli
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
62/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.