]> granicus.if.org Git - procps-ng/commit
top: improved that #define PRETENDNOCAP implementation
authorJim Warner <james.warner@comcast.net>
Sun, 3 Jul 2016 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Wed, 6 Jul 2016 11:33:17 +0000 (21:33 +1000)
commit5e33325f9a36bd5acb6726c1243a0e46d6623dbc
tree10e859003b0cb0754d2a577337f07d68ff7d11c8
parent19f0ae79bc45f0342339d598c089585de115f677
top: improved that #define PRETENDNOCAP implementation

This development (only) define can be used to turn top
into a simple text program, disabling termcap effects.
But input (at screen bottom) suffers from a line wrap.

So, this commit just makes the input prompt processing
a little more effective by adding one leading newline.

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