header
dev_tool.tui.components.header
HeaderComponent
A component for rendering the header.
The constructor for the HeaderComponent class.
Parameters:
-
terminal(Terminal) –The blessed Terminal instance.
-
theme(Default) –The theme instance for styling.
Source code in dev_tool/tui/components/header.py
project = CONTEXT.configuration.get_project_name() or 'Unknown'
instance-attribute
terminal = terminal
instance-attribute
theme = theme
instance-attribute
draw
A method that draws the header with the project title.
Parameters:
-
output(list) –The list to append terminal output strings to.