[LibGDX] How to make a Console like screen?

       I want to make a game like those old DOS games where you type stuff to do and something happens and bla bla bla. How would I make a scrollable screen with text that you can input into it? I know how to draw text by itself, but not how to draw it organized like that.