Files
MeshTerm/meshterm/ui/tui/__init__.py
T
Jean-Pierre MartineauandClaude Opus 4.8 2ec18138a7 Rename project from MeshTools to MeshTerm
Rename the package directory, imports, brand strings, env-var prefixes,
console-script entry point, and the config/data dir (~/.config/meshterm).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-07 19:40:49 -04:00

36 lines
1.2 KiB
Python

"""A small, centralized, reusable full-screen text-UI library.
Built on prompt_toolkit (for the terminal, input, and resize handling) and Rich (for all
content rendering), this package gives the interactive app a consistent, bounded, layered
UI: screens never overflow the terminal, long content scrolls, going deeper stacks dialogs
over a dimmed parent, and Esc always dismisses the current layer.
Public API:
- :class:`~meshterm.ui.tui.session.TuiSession` — the running session and prompt helpers.
- :class:`~meshterm.ui.tui.select.Choice` / :class:`~meshterm.ui.tui.select.Separator`
— items for ``session.select``.
- Screen classes for advanced/custom layers.
"""
from __future__ import annotations
from .progress import ProgressScreen
from .prompt import AutocompleteScreen, ConfirmScreen, TextScreen
from .screen import CANCEL, Screen, ScrollScreen
from .select import Choice, SelectScreen, Separator
from .session import TuiSession
__all__ = [
"TuiSession",
"Screen",
"ScrollScreen",
"SelectScreen",
"Choice",
"Separator",
"TextScreen",
"ConfirmScreen",
"AutocompleteScreen",
"ProgressScreen",
"CANCEL",
]