Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increasing terminal width doesn't address truncation #3071

Open
denelon opened this issue Mar 13, 2023 · 5 comments
Open

Increasing terminal width doesn't address truncation #3071

denelon opened this issue Mar 13, 2023 · 5 comments
Labels
Area-Output Issue related to CLI output Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@denelon
Copy link
Contributor

denelon commented Mar 13, 2023

          > My terminal window _was_ wide enough:

image

Is there an existing issue for this?

Originally posted by @sba923 in #3069 (comment)

@denelon denelon added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Mar 13, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Mar 13, 2023
@denelon denelon removed the Needs-Triage Issue need to be triaged label Mar 13, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Mar 13, 2023
@Trenly
Copy link
Contributor

Trenly commented Mar 14, 2023

@denelon - I'm wondering if this is because it was piped.

@sba923 - does the same thing occur with winget list 'ImageMagick?

@sba923
Copy link

sba923 commented Mar 14, 2023

@sba923 - does the same thing occur with winget list 'ImageMagick?

Nope it doesn't.

Seems indeed pipe-related.

image

@stephengillie stephengillie removed the Needs-Triage Issue need to be triaged label Mar 14, 2023
@denelon
Copy link
Contributor Author

denelon commented Mar 14, 2023

That makes sense. We have a default value when we can't "get width" from the terminal.

@Trenly
Copy link
Contributor

Trenly commented Apr 17, 2023

Looking at this more, I think there's also an error in how the console width is determined. For example, running winget list doesn't use the full console width on my machine, even when the buffer width is set to 5000. When running winget list Microsoft the table is larger, but there are still truncated entries -

Name                                                         Id                                                Version             Available
---------------------------------------------------------------------------------------------------------------------------------------------------
|
Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.6… Microsoft.VCRedist.2008.x86                       9.0.30729.6161

@denelon denelon added this to the v.Next-Client milestone Jun 5, 2023
@Trenly
Copy link
Contributor

Trenly commented Jun 16, 2023

[Policy] Area-Output

@microsoft-github-policy-service microsoft-github-policy-service bot added the Area-Output Issue related to CLI output label Jun 16, 2023
@denelon denelon removed this from the v.Next-Client milestone Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Output Issue related to CLI output Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

4 participants