]> granicus.if.org Git - procps-ng/commit
top: improve the response to ^Z if awaiting line input
authorJim Warner <james.warner@comcast.net>
Fri, 22 Feb 2013 06:00:00 +0000 (00:00 -0600)
committerJaromir Capik <jcapik@redhat.com>
Wed, 27 Feb 2013 16:03:51 +0000 (17:03 +0100)
commit5c3fffcf289c89f6a1171f18e33365f909d096d5
tree9f2e1c6b4b5f9ffa7a27eeef576385d8637665b9
parentd497b1025a3f109e6f06b04d90c265d59deee6d3
top: improve the response to ^Z if awaiting line input

Now that line input offers users full editing freedom,
if top were to be suspended after issuing a prompt for
input, upon resumption an extra keystroke is necessary
to satisfy the outstanding read & refresh the display.

With this patch that extra keystroke is not necessary.

(everything is perfectly justified plus right margins)
(are completely filled, but of course it must be luck)

Reference(s):
commit 477b10c0bd00ed8750c02a9580e606baadb0e6f4

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