]> granicus.if.org Git - procps-ng/commit
top: improved that #define PRETENDNOCAP implementation
authorJim Warner <james.warner@comcast.net>
Wed, 15 Jun 2016 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Fri, 17 Jun 2016 11:44:29 +0000 (21:44 +1000)
commit5ce94f9bb07fdd34a78bff85a4c98277058dc610
treea23617e20341d3744f87bf793b1f8f7528d3564c
parent4a0e974b7fe55dfac9ab1b4efe78d457850d10b6
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