Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)
Creates a curses interface for the program, providing functions to draw
all the components of the UI.

Provides a facade API to draw the representation of the
:class:`~turses.models.TimelineList`, help :class:`HelpBuffer`
and intro :class:`Banner` screens.

src/t/u/turses-0.2.22/turses/cli.py   turses(Download)
from turses.config import configuration, LOG_FILE
from turses.models import TimelineList
from turses.ui import CursesInterface
from turses.api.base import AsyncApi
from turses.api.debug import MockApi
 
    # create view
    curses_interface = CursesInterface()
 
    # create model

src/t/u/turses-HEAD/turses/cli.py   turses(Download)
from turses.config import configuration, LOG_FILE
from turses.models import TimelineList
from turses.ui import CursesInterface
from turses.api.base import AsyncApi
from turses.api.debug import MockApi
 
    # create view
    curses_interface = CursesInterface()
 
    # create model