Codebox continuing when incomplete code is given and need to press continue

Every time we ask for something of code, the response ends and it is waiting for us to press continue. As soon as we do, part of the code is outside of the code box and then in a random moment the rest is inside a new codebox. Please make it so a new codebox is open automatically and so it can continue exactly where it left off. Thank you