Files
AstrBot/astrbot/tui/__main__.py
LIghtJUNction 2f45280222 fix(dashboard): symlink dist for dev-mode resource resolution
importlib.resources.files('astrbot')/dashboard/dist needs to exist
in the package dir for bundled dashboard detection to work in dev.
2026-03-22 22:29:26 +08:00

22 lines
525 B
Python

"""AstrBot TUI - Entry point for python -m astrbot.tui"""
from astrbot.tui.screen import run_curses
def main(stdscr):
"""Main TUI loop - placeholder for future TUI implementation."""
# For now, just display a message
import curses
curses.start_color()
curses.curs_set(1)
stdscr.clear()
stdscr.addstr(0, 0, "AstrBot TUI - Coming soon!", curses.A_BOLD)
stdscr.addstr(2, 0, "Press any key to exit...")
stdscr.refresh()
stdscr.getch()
if __name__ == "__main__":
run_curses(main)