question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Output cutoff at 74 chars per line

See original GitHub issue

OS X

Steps to reproduce

PS /Users/thill/projects/work> Get-Process | Sort-Object -Property CPU -Descending | Select-Object -First 5

Expected behavior

No maximum line length.

Actual behavior

Evidence of lines being cutoff:

Handles  NPM(K)    PM(K)      WS(K)     CPU(s)     Id  SI ProcessName                                                                                                                                      
-------  ------    -----      -----     ------     --  -- -----------                                                                                                                                      
      0       0        0     756156 ...127.183  12881   1 plugin-containe                                                                                                                                  
      0       0        0     738004 ...219.210  12879   1 firefox                                                                                                                                          
      0       0        0     160060 37,618.788  38707   1 Microsoft Remot                                                                                                                                  
      0       0        0      77596  6,914.063  12899   1 iTerm                                                                                                                                            
      0       0        0      19852  2,687.954    313   1 Flux                                                                                                                                             

Environment data

> $PSVersionTable

Name                           Value                                                                                                                                                                       
----                           -----                                                                                                                                                                       
PSVersion                      6.0.0-alpha                                                                                                                                                                 
PSEdition                      Core                                                                                                                                                                        
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                                                                     
BuildVersion                   3.0.0.0                                                                                                                                                                     
GitCommitId                    v6.0.0-alpha.9                                                                                                                                                              
CLRVersion                                                                                                                                                                                                 
WSManStackVersion              3.0                                                                                                                                                                         
PSRemotingProtocolVersion      2.3                                                                                                                                                                         
SerializationVersion           1.1.0.1

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
vexx32commented, Apr 5, 2022

Changing this default would only help a fairly small number of users. Given that -Autosize works, not sure we’d want to change this default for edge cases.

I don’t think we can make this assertion without data to back it up.

Besides, the change is fairly trivial, so I don’t see why the opposition here.

0reactions
iSazonovcommented, Jun 9, 2023

Since Format-Table -AutoSize works well I think we can close the issue as Won't fix. (If even the default format(s) covers 80% of the cases it is a very good result, but I think there is even more positive percentage.)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Text object - characters per line limit - MaxMSP Forum
Hello all. Is there any way to overcome the character limit per line of the text object? Or any workaround? Thanks in advance....
Read more >
Is the 80 character limit still relevant in times of widescreen ...
11 Answers. There are several reasons to still adhere to an 80 character limit (or, a 74 character limit is even better; it...
Read more >
How would one limit characters per line when printing a ...
I'm attempting to write a report creating script. Simply put I have the user submit strings via a few raw_input()s. Theses strings are...
Read more >
Characters per line - C++ Forum
So i basically want like an even block of characters at 50 characters per line. But instead I'm getting the first line right...
Read more >
Enforcing a 80-character line length rule? · Issue #247
Is it possible to enforce a rule to limit code to 80 character per line? styler currently doesn't seem to do that.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found