Question: Getting input from a user

I am writing a program in which, after some calculations, I want to give the user some information and then ask them if they want the program to continue. I've tried using readline(terminal) and readstat, but I have the following problem: the information that I want the user to see is printed at the bottom of the screen and Maple gives a dialog box to get the user input. With the dialog box showing, the user can't scroll down to see the data. Is there a way to make sure that the data shows up before the dialog box pops up? Or is there another way to get input from a user?
Please Wait...