Open brkerez opened 10 months ago
I constantly have problems with this and can never find any option to display the full ID, name or version. Every time I run winget list I have at least a dozen where either the name , ID, or version is cut short thus rendering the entire command useless for what I needed it for. Bad design really, not well thought. Logically I thought --verbose may fix it but did nothing. Was this fixed?
Brief description of your issue
Output of
winget search
is cutting the id if it is longer and I think this wasn't the case before1.7.3172
(I'm not completely sure about the version it appeared but I think that it was displaying full ids in the past).When you search for a package you then most likely want to copy the id to use it to upgrade/install/... so shortening ids is bad idea IMHO.
Here is the example of
winget search terminal
output:The output of
winget list terminal
is behaving ok - displaying full ids:Steps to reproduce
winget search terminal
Expected behavior
The lenght of the
id
column inwinget search
output should be determined by longestid
value in displayed list - as it is the case forwinget list
Actual behavior
it seems that longer ids like
Windows.Terminal.Preview
are shortened to some artificial constant length (and comparingwinget search
andwinget list
output I think same applies for thename
but there is some longer constant length if I'm not mistakenEnvironment