diff options
author | Elliott Hughes <enh@google.com> | 2020-08-13 09:19:11 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-08-13 13:44:33 -0500 |
commit | 1b276a864b311ea55d0b413b9031b8c4128bc7e5 (patch) | |
tree | 29b79bfc0f07440ac68cf26885ce4082ffbad4a1 /toys/other/base64.c | |
parent | b012ff9ed9cda1be1cf92c2f007df99ef15a4eec (diff) | |
download | toybox-1b276a864b311ea55d0b413b9031b8c4128bc7e5.tar.gz |
toybox: fit list of commands in terminal width.
This can still be pretty ragged because it just leaves space for the
longest name at the end of each line rather than measuring the name that
actually comes next, but at least with this change we never over-run.
I noticed this because ConnectBot on my current device gives me a
60-column terminal.
busybox seems to do this, though it seems to actually measure, judging
by how close it gets to the margin. That doesn't seem worth the effort
though?
Diffstat (limited to 'toys/other/base64.c')
0 files changed, 0 insertions, 0 deletions