top: avoid potential truncation with 'Inspect' feature
authorJim Warner <james.warner@comcast.net>
Fri, 26 Jan 2018 06:00:00 +0000 (00:00 -0600)
committerCraig Small <csmall@enc.com.au>
Mon, 19 Feb 2018 09:37:24 +0000 (20:37 +1100)
commit4e77b307dcae2de05c508d8742dd5e7597050754
tree3bc36207f616548d60029651df993b99daa0831e
parentf3f90ab93c1b01cc1956243d1dd7ec9b93224cb8
top: avoid potential truncation with 'Inspect' feature

As it turns out, that Ukrainian 'demo' text supporting
the '=' command was 152 bytes long, up from an English
version of 80 bytes. Unfortunately, the buffer used to
format all such strings was insufficient at 128 bytes.

Depending on the width of one's terminal, some strange
result could be experienced when a multi-byte sequence
was truncated. So, this just makes that buffer bigger.

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c