Module terminal

Module terminal 

Source
Expand description

Terminal setup and teardown

This module handles initializing and restoring the terminal state, including setting up the panic hook to restore the terminal on crash.

Functions§

init_terminal
Initialize the terminal for TUI mode
restore_terminal
Restore the terminal to its original state
run_tui
Run the TUI application

Type Aliases§

Tui
Type alias for our terminal