From e60e8fe80a3c18a07de5d617bd19554a5137b3ac Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 20 Jun 2013 12:11:17 +0200 Subject: show_peak_box() and show_reference_profile(): refresh() before getch() --- libcrystfel/src/integration.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libcrystfel/src/integration.c') diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c index 50b4d7b5..3cf2ff97 100644 --- a/libcrystfel/src/integration.c +++ b/libcrystfel/src/integration.c @@ -343,8 +343,8 @@ static void show_peak_box(struct intcontext *ic, struct peak_box *bx) printw("Reference profile number %i, ", bx->rp); printw("Background parameters: a=%.2f, b=%.2f, c=%.2f\n", bx->a, bx->b, bx->c); - getch(); refresh(); + getch(); endwin(); } @@ -377,8 +377,8 @@ static void show_reference_profile(struct intcontext *ic, int i) printw("\n"); } - getch(); refresh(); + getch(); endwin(); } -- cgit v1.2.3