Module app

Module app 

Source
Expand description

Application state for the TUI.

This module contains the core state management for the terminal user interface, including device tracking, connection status, and UI navigation.

Structs§

Alert
An active alert for a device.
AlertRecord
Record of a past alert for history viewing.
App
Main application state for the TUI.
DeviceState
State for a single Aranet device.
SessionStats
Session statistics for a device.

Enums§

AlertSeverity
Alert severity level.
BleRange
Bluetooth range mode.
ConnectionStatus
Connection status for a device.
DeviceFilter
Filter for device list display.
HistoryFilter
Time range filter for history.
PendingAction
Actions that require user confirmation.
Tab
UI tab selection.
Theme
UI theme.

Functions§

calculate_radon_averages
Calculate radon averages from history records.