microsoft / microsoft/winget-cli

Improve display output

Open
#960 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Output 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

Improve the visual text output rendered in Terminal

Proposed technical implementation details (optional)

The default line wrap in terminal is not quite as nice as I would like it to be for commands like show. Initially maybe some kind of table based layout might be nice, but true word wrap would be even nicer. I've added a snip of what I mean by table based layout.

We still need to think about what this means for other locales, and hyphenated words, but I think you might get the gist.

PS C:\Users\denelon> winget show vscode
Found Visual Studio Code [Microsoft.VisualStudioCode]
Version:     1.56.1.e713fe9b05
Publisher:   Microsoft Corporation
Moniker:     vscode
Description: Visual Studio Code is a code editor redefined and optimized for bui
             lding and debugging modern web and cloud applications. Visual Studi
             o Code is free and available on your favorite platform - Linux, mac
             OS, and Windows.
Homepage:    https://code.visualstudio.com
License:     MIT
License Url: https://github.com/microsoft/vscode/blob/main/LICENSE.txt
Installer:
  Type:         Inno
  Download Url: https://az764295.vo.msecnd.net/stable/e713fe9b05fc24facbec8f34fb
                1017133858842b/VSCodeUserSetup-x64-1.56.1.exe
  SHA256:       02d54f65162d74088f06c4fac95cd837d65ae9d1790e6c9404bc335a140ba490

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

Start by reproducing the winget show vscode output in a Windows Terminal and reviewing how terminal text output is currently rendered. The issue does not name files or tests; done requires an agreed table or word-wrapping design that handles locales, hyphenated words, and long URLs.

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
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.