]> granicus.if.org Git - procps-ng/commit
top: cursor repositioning includes line oriented input
authorJim Warner <james.warner@comcast.net>
Mon, 1 Jul 2013 05:00:00 +0000 (00:00 -0500)
committerJaromir Capik <jcapik@redhat.com>
Tue, 2 Jul 2013 12:49:46 +0000 (14:49 +0200)
commit33104a2bcc321495107d72e4cfee4090b1d90f76
tree47b25a698fe2ac361b817b6c126df2484c12a874
parent25ed080eaa9cec603bc486b47b4a96d6438cf94f
top: cursor repositioning includes line oriented input

A recent patch introduced the ability to recognize the
need to reposition the cursor at suspension or program
end. There remained unmet 1 additional potential need.

This commit extends that ability to embrace line input
so that if a user issues ^Z or ^C while being prompted
the resulting shell output will no longer be embedded.

Reference(s):
http://www.freelists.org/post/procps/top-library-miscellaneous-tweaks,7
commit 5c974ff44da4fbbb9170dd15bdd81555c62c31a9

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