pub fn init() -> DefaultTerminalExpand description
Initialize a fullscreen terminal over process stdio and panic on failure.
This is the infallible convenience wrapper around try_init. It is
useful for examples and applications that prefer startup failure to abort
immediately with a clear message.
§Returns
A ready-to-draw DefaultTerminal using [Viewport::Fullscreen] and
default ScreenOptions.
§Panics
Panics with failed to initialize terminal if try_init returns an
error.
§Usage note
Pair a successful call with restore or try_restore before exiting.