[procps] [PATCH 6/7] clear screen after fields selection

  • From: Jan Görig <jgorig@xxxxxxxxxx>
  • To: procps@xxxxxxxxxxxxx
  • Date: Thu, 16 Dec 2010 11:16:01 +0100

Author: Tomas Smetana <tsmetana@xxxxxxxxxx>
Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=440694
---
 top.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/top.c b/top.c
index a7496b6..1f581d1 100644
--- a/top.c
+++ b/top.c
@@ -2071,6 +2071,7 @@ static void fields_sort (void)
       *p = x + 'A';
    Curwin->rc.sortindx = x;
    putp(Cap_curs_norm);
+   putp(Cap_clr_scr);
 }
 
 
@@ -2096,6 +2097,7 @@ static void fields_toggle (void)
          *p = i + 'A';
    }
    putp(Cap_curs_norm);
+   putp(Cap_clr_scr);
 }
 
 /*######  Windows/Field Groups support  #################################*/
-- 
1.7.3.3


Other related posts:

  • » [procps] [PATCH 6/7] clear screen after fields selection - Jan Görig