github / github/copilot-cli

Show current command above input box for demo audience

Đang mở
#4,794 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

triage
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Không có tệp hoặc bài kiểm thử nào được nêu tên. Trước tiên, hãy xác định các điểm vào của phần nhập liệu CLI và thực thi lệnh, sau đó lần theo nơi phần nhập liệu được xóa và chế độ xem đầu ra được làm mới. Được xem là hoàn tất khi lệnh được thực thi gần đây nhất vẫn hiển thị trên một dòng nhỏ phía trên phần nhập hiện tại cho đến khi một lệnh khác được chạy, mà không làm gián đoạn tương tác thông thường.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
shell
Lĩnh vực
cli
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
62/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.