[Toybox] [PATCH] top: make the column header span the terminal.

enh enh at google.com
Fri Feb 15 15:42:56 PST 2019


This also makes everything more readable by separating out the -b no
formatting case.

The whitespace trimming for -b isn't strictly necessary, but it looks
weird if we output unnecessary spaces at the end of the line in -b mode,
and we've fixed it before, so let's not regress here. It also seems more
logical to do this in the one place where it actually happens.
---
 toys/posix/ps.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-top-make-the-column-header-span-the-terminal.patch
Type: text/x-patch
Size: 1537 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20190215/5dcccc70/attachment-0002.bin>


More information about the Toybox mailing list