Quizzer::FrontEnd::Text - Text FrontEnd
This FrontEnd is for a simple user interface that uses plain text output. It uses ReadLine to make the user interface just a bit nicer.
This method from my base class is overridden, so after the screen size changes, $Text::Wrap::columns is updated to match.
Displays text wrapped to fit on the screen. If too much text is displayed at once, it will page it. If a title has been set and has not yet been displayed, displays it first.
Display text, paging if necessary. If a title has been set and has not yet been displayed, displays it first.
Display a title. Only do so once per title. The title is stored in the title property of the object. If a value is passed in, this will set the title instead.
Pass it the text to prompt the user with, and an optional default. The user will be prompted to enter input, and their input returned. If a title is pending, it will be displayed before the prompt.
Same as prompt, except what the user enters is not echoed to the screen and the default is never shown in the prompt.
Joey Hess <email@example.com>