]> granicus.if.org Git - procps-ng/commit
top: consolidate logic dealing with resetting a window
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:28 +0000 (14:25 +0100)
commit9dd7251ca3bbe04d0990d684bbb3dbfc274dcfea
treead2930493148b2f99f0acb2e955d6ac8ab43c610
parenta458871cdec00b92889e7047611b288c4ebb9432
top: consolidate logic dealing with resetting a window

This commit just gathers all the logic associated with
resetting/normalizing a single window in one function.

In the future, should the window structure be expanded
to support added functionality, the act of maintaining
it will have been made a little bit easier, hopefully.

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

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