tui-lipan 0.1.0

Opinionated, component-based TUI framework for Rust - declarative components, reconciliation, layout engine, focus, overlays, and rich widgets on top of ratatui.
Documentation
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum ClipboardCommand {
    Copy,
    Cut,
    Paste,
    PasteFromSelection,
    CopyImage,
    PasteImage,
}

impl ClipboardCommand {
    pub fn is_copy_or_cut(self) -> bool {
        matches!(self, Self::Copy | Self::Cut)
    }

    pub(crate) fn is_image(self) -> bool {
        matches!(self, Self::CopyImage | Self::PasteImage)
    }
}