Add a leading space to the status messages output after toggling the

'C' and 'H' flags at runtime.  This matches messages output for other
toggles which leave the first column in the message blank to hold the
cursor.

PR:		bin/158775
Submitted by:	arundel
MFC after:	3 days
This commit is contained in:
John Baldwin 2011-07-11 16:51:29 +00:00
parent 51f202e9ed
commit 4702b8d2c0

View File

@ -1020,7 +1020,7 @@ char *argv[];
case CMD_thrtog:
ps.thread = !ps.thread;
new_message(MT_standout | MT_delayed,
"Displaying threads %s",
" Displaying threads %s",
ps.thread ? "separately" : "as a count");
header_text = format_header(uname_field);
reset_display();
@ -1029,7 +1029,7 @@ char *argv[];
case CMD_wcputog:
ps.wcpu = !ps.wcpu;
new_message(MT_standout | MT_delayed,
"Displaying %sCPU",
" Displaying %sCPU",
ps.wcpu ? "W" : "");
header_text = format_header(uname_field);
reset_display();