display
dev_tool.tui.display
DisplayInterface
Bases: BaseInterface
A class for displaying scrollable content in the TUI.
This class extends BaseInterface to provide a dedicated display view that can show content with scrolling support and navigation controls.
The constructor for the DisplayInterface class.
Parameters:
-
terminal(Terminal) –The blessed Terminal instance.
Source code in dev_tool/tui/display.py
draw_display
A method that draws the display view with the provided content.
Parameters:
-
content(str) –The content to display.
handle_input
A method that handles input for the display interface.
Parameters:
-
key(str) –The key name.
Returns:
-
str | None–The navigation result or None to continue.