awsc.termui.screen.Screen
- class awsc.termui.screen.Screen(ui)
Defines a screen. Unless some serious magic is being done with multiple terminal windows, this does not need to be instantiated more than once.
- Attributes:
- uiawsc.termui.ui.UI
The UI instance which controls this screen.
- buflist(awsc.termui.screen.Screen.Row)
A list of character rows on the screen.
Methods
Row
(screen)Defines a row of characters on the screen.
clear
()Clears the screen, resetting each row to an empty row.
output
()Returns the output of all rows on the screen, as a single string.
- __init__(ui)
Initializes a Screen object.
- Parameters:
- uiawsc.termui.ui.UI
The UI instance which controls this screen.
Methods
__init__
(ui)Initializes a Screen object.
clear
()Clears the screen, resetting each row to an empty row.
output
()Returns the output of all rows on the screen, as a single string.