]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
top: VIS_SAFE turned out to be unsafe
authorYuri Pankov <yuripv@FreeBSD.org>
Tue, 14 Jul 2020 22:43:40 +0000 (22:43 +0000)
committerYuri Pankov <yuripv@FreeBSD.org>
Tue, 14 Jul 2020 22:43:40 +0000 (22:43 +0000)
commit13858b88240224ac809dd656c74d39683224dab3
tree16b922177412ac69d5bfbbf99b4c5680f6fb13fb
parentef013ceecd0d7269768a57727666410d314ae8e9
top: VIS_SAFE turned out to be unsafe

Unset VIS_SAFE flag as it turned out to be actually unsafe
for continuos top display as it's passing through sequences
resulting cursor movement (backspace, tab, carriage-return),
and explicitly set VIS_TAB for the same reason.

Reported by: Mark Millard <marklmi@yahoo.com>, swills
Tested by: Mark Millard <marklmi@yahoo.com>, swills
usr.bin/top/machine.c