Commit 5e33325f authored by jim warner's avatar jim warner Committed by Craig Small

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's avatarJim Warner <>
parent 19f0ae79
......@@ -752,7 +752,11 @@ static void show_msg (const char *str) {
static int show_pmt (const char *str) {
int rc;
PUTT("\n%s%s%.*s %s%s%s"
PUTT("%s%s%.*s %s%s%s"
, tg2(0, Msg_row)
, Curwin->capclr_pmt
, Screen_cols - 2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment