//! Generic action metadata and one-line action hint bar. use crate::Badge; use rustik_tui_core as tui_core; use tui_core::{Buffer, Constraint, Label, Line, Rect, Size, Style, Widget}; /// UI metadata for one action. #[derive(Debug, Clone)] pub struct ActionItem { /// Primary action label. name: Label, /// Optional key or gesture label. key: Option