Potential extension to the behavior of the cmdline
/COMMAND
column
#20
Labels
enhancement
New feature or request
cmdline
/COMMAND
column
#20
One idea not addressed in #17 was that the truncation of the
cmdline
contents in theCOMMAND
column ofzps
's output maybe should be adapted to allow longer output depending on the number of available terminal columns. An example of this would beps
, which attempts to display the contents up to the line limit of the interactive terminal, unlessstdout
is piped to a different program'sstdin
– likegrep
, for example –, in which case the wholecmdline
is displayed.Introducing this functionality would still have one issue, however: Users looking for a specific substring in the interactive output of
zps
would not find every match thatgrep
-ing would show, due to differences in the maximum line lengths and occurring truncation.Thus, it might actually be desirable to actually limit the lengths in any case, so users are required to check the contents through alternative sources/programs.
The text was updated successfully, but these errors were encountered: