microsoft / microsoft/winget-cli

Skip downloaded package by pressing ESC key

Open
#2,629 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Feature
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Description of the new feature / enhancement

Sometimes you may decide that a huge package that's being downloaded during an upgrade -all action isn't worth the wait and you may want to skip to next package.

This is especially useful when you have issues with winget trying to reinstall multiple big already up-to-date packages and you don't want to add exclusions (assuming you can) for each one of those (hoping eventually WinGet will fix those issues)

Of course this is for scenaria where you use winget interactively

Proposed technical implementation details

Should detect ESC key or some other key combination that the average user would expect to cancel a download and skip to next (if multiple are queued). In case of multiple parallel downloads (not sure such functionality is currently available) it would cancel all active ones (assuming the progress of all was being displayed to the user)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are identified in the issue. Start by locating the interactive upgrade download flow and how a user-requested cancellation could skip the current package. Done means an expected key action cancels the active download and proceeds to the next queued package, with behavior defined for multiple active downloads.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.