cursive 0.14.1

A TUI (Text User Interface) library focused on ease-of-use.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use enumset::EnumSetType;

/// Text effect
#[derive(EnumSetType, Debug)]
pub enum Effect {
    /// No effect
    Simple,
    /// Reverses foreground and background colors
    Reverse,
    /// Prints foreground in bold
    Bold,
    /// Prints foreground in italic
    Italic,
    /// Prints foreground with strikethrough (has no effect for ncurses and blt backends)
    Strikethrough,
    /// Prints foreground with underline
    Underline,
}