Skip to main content

Crate reratui_runtime

Crate reratui_runtime 

Source
Expand description

Runtime and event loop for Reratui TUI framework

This module provides the core runtime functionality for Reratui applications, including terminal management, event handling, and the render loop.

Structs§

ManagedTerminal
A managed terminal instance that handles setup and cleanup

Functions§

render
Renders a component-based TUI application with hooks support
request_exit
Request the application to exit
reset_exit
Reset the exit flag (useful for tests)
restore_terminal
Restore terminal to original state
setup_terminal
Initialize terminal for TUI applications
should_exit
Check if exit has been requested