erebus 0.1.2

A CLI message generation library
Documentation
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Characters {
    /// Horizontal bar ─
    pub hbar: char,
    /// Vertical bar │
    pub vbar: char,
    /// Cross bar ┼
    pub xbar: char,
    /// Vertical bar break ┆
    pub vbar_break: char,
    /// Vertical bar gap ┆
    pub vbar_gap: char,

    /// Up arrow ▲
    pub uarrow: char,
    /// Right arrow ▶
    pub rarrow: char,

    /// Left top corner ╭
    pub ltop: char,
    /// Middle top ┬
    pub mtop: char,
    /// Right top corner ╮
    pub rtop: char,
    /// Left bottom corner ╰
    pub lbot: char,
    /// Right bottom corner ╯
    pub rbot: char,
    /// Middle bottom ┴
    pub mbot: char,

    /// Left box [
    pub lbox: char,
    /// Right box ]
    pub rbox: char,

    /// Left cross ├
    pub lcross: char,
    /// Right cross ┤
    pub rcross: char,

    /// Under bar ┬
    pub underbar: char,
    /// Underline ─
    pub underline: char,
}

impl Characters {
    #[must_use]
    pub const fn arc() -> Self {
        Self {
            hbar: '',
            vbar: '',
            xbar: '',
            vbar_break: '',
            vbar_gap: '',
            uarrow: '',
            rarrow: '',
            ltop: '',
            mtop: '',
            rtop: '',
            lbot: '',
            mbot: '',
            rbot: '',
            lbox: '[',
            rbox: ']',
            lcross: '',
            rcross: '',
            underbar: '',
            underline: '',
        }
    }
}

impl Default for Characters {
    fn default() -> Self {
        Self::arc()
    }
}