@classmethod
def init_and_run(cls, *args, **kwargs):
    'Instantiate and run `self.main()` using `curses.wrapper`.\n\n        Parameters\n        ----------\n        *args : tuple\n            Positional arguments to be passed to the CursesInterface constructor.\n        **kwargs : dict, optional\n            Keyword arguments to be passed to the CursesInterface constructor.\n\n        Returns\n        -------\n        CursesInterface object\n            An instance of the CursesInterface class.\n        '
    ui = cls(*args, **kwargs)
    curses.wrapper(ui.main)
    return ui
Instantiate and run `self.main()` using `curses.wrapper`.

Parameters
----------
*args : tuple
    Positional arguments to be passed to the CursesInterface constructor.
**kwargs : dict, optional
    Keyword arguments to be passed to the CursesInterface constructor.

Returns
-------
CursesInterface object
    An instance of the CursesInterface class.
@classmethod
def init_and_run(cls, *args, **kwargs):
    'Instantiate and run `self.main()` using `curses.wrapper`.\n\n        Parameters\n        ----------\n        *args : tuple\n            Positional arguments to be passed to the CursesInterface constructor.\n        **kwargs : dict, optional\n            Keyword arguments to be passed to the CursesInterface constructor.\n\n        Returns\n        -------\n        CursesInterface object\n            An instance of the CursesInterface class.\n        '
    ui = cls(*args, **kwargs)
    curses.wrapper(ui.main)
    return ui