Source: factory.web/ObjRichBridge.py
Bridge between Rich console output and
HTML for rendering in pywebview via xterm.js.
Captures Rich renderables (Tables, Panels,
Layouts, Text) and converts them to styled
...
| Method | Signature | Description |
|---|---|---|
| render | render(*renderables) -> str |
Convert Rich renderables to HTML |
| render_fn | render_fn(fn) -> str |
Call a function that returns Rich |
| render_console | render_console(fn) -> str |
Call a function that prints directly |
| wrap | wrap(fn) |
Return a callable suitable for |
| wrap_console | wrap_console(fn) |
Return a callable for render_fn that |