From fe4e9e0601df58a743952269ecf57333f7efdc33 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 31 May 2013 22:44:20 -0700 Subject: Clear screen before showing new peak box or reference profile --- libcrystfel/src/integration.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libcrystfel/src/integration.c') diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c index a1774057..bcffa617 100644 --- a/libcrystfel/src/integration.c +++ b/libcrystfel/src/integration.c @@ -297,6 +297,7 @@ static void show_peak_box(struct intcontext *ic, struct peak_box *bx) int q; initscr(); + clear(); start_color(); init_pair(1, COLOR_WHITE, COLOR_BLUE) ; /* Background */ init_pair(2, COLOR_WHITE, COLOR_RED); /* Peak */ @@ -348,6 +349,7 @@ static void show_reference_profile(struct intcontext *ic, int i) int q; initscr(); + clear(); start_color(); init_pair(1, COLOR_WHITE, COLOR_BLUE) ; /* Background */ init_pair(2, COLOR_WHITE, COLOR_RED); /* Peak */ -- cgit v1.2.3