aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-06-20 12:11:17 +0200
committerThomas White <taw@physics.org>2013-06-20 12:11:17 +0200
commite60e8fe80a3c18a07de5d617bd19554a5137b3ac (patch)
tree7a07e0e949f469e870c96a5c093d88077b93f798 /libcrystfel
parent4bb43ed611a5026c9fa3be5b821969c2a21476dc (diff)
show_peak_box() and show_reference_profile(): refresh() before getch()
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/integration.c4
1 files changed, 2 insertions, 2 deletions
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();
}