]> granicus.if.org Git - procps-ng/commit
top: modest efficiency change to message line handling
authorJim Warner <james.warner@comcast.net>
Thu, 15 Aug 2013 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Fri, 30 Aug 2013 12:08:25 +0000 (22:08 +1000)
commit80e678343653ccadaaf66bf719b3da9d6168d9ec
treecf6e052b9ecc660de2ac7b3c6d68a5571368afe0
parent739effd90701d5d327624cd833d20c7f35981613
top: modest efficiency change to message line handling

When the final solution for cursor positioning for all
^Z or ^C cases was introduced the revised placement of
message line management introduced with the window mgr
'screen' refactor was retained. Those two commits mean
that a former tgoto was no longer needed when clearing
that msg line or displaying the scroll coordinate msg.

This patch eliminates the tgoto employed by frame_make
while assimilating a now defunct show_scroll function.

Reference(s):
. final cursor positioning for ^Z or ^C
commit 46a1356219cfab67240704af9cd73b58a20d4232
. 'screen' window manager refactor
commit 0fe393ff270922cd4f6edbcaabba006314e73a37

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