]> granicus.if.org Git - procps-ng/commit
top: allow no input with the maximum task ('n') prompt
authorJim Warner <james.warner@comcast.net>
Wed, 27 Feb 2013 06:00:00 +0000 (00:00 -0600)
committerJaromir Capik <jcapik@redhat.com>
Fri, 1 Mar 2013 13:25:15 +0000 (14:25 +0100)
commit6d0765a03c10ffcf8423d50d407decbed0f52e38
tree192207ebe7fc1ab733744b64272fb34f80610bb7
parent5ee1286625a8f7ef9cba84172d2143232f4f65d3
top: allow no input with the maximum task ('n') prompt

When both 'kill' and 'renice' commands were changed to
provide a default pid, the 'n' command (maximum tasks)
should have also changed to continue to accept just an
<Enter> key under the get_int function's new protocol.

This patch corrects that behavior, accepting no input.

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

Reference(s):
commit 39f4067c66141921a9ca2a5170df1fa2151f3182

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