ConnectOnionConnectOnion
DocsTUIFooter

Footer

Simple footer with tips/hints display

Quick Start

main.py
1from connectonion.tui import Footer 2from rich.console import Console 3 4console = Console() 5 6footer = Footer(["? help", "/ commands", "@ contacts"]) 7console.print(footer.render())
Python REPL
Interactive
? help / commands @ contacts

API

main.py
1Footer(tips: list[str])

Methods

main.py
1footer.render() -> Text # Returns Rich Text object

Usage with Input

main.py
1from connectonion.tui import Input, Footer 2 3# Footer tips shown below input 4text = Input( 5 hints=["? help", "/ commands", "Enter submit"] 6).run()

Example Output

? help  / commands  @ contacts