termion/src/style.rs

22 lines
524 B
Rust
Raw Normal View History

2016-03-07 16:57:17 +00:00
/// A SGR parameter (rendition mode).
pub enum Style {
2016-03-07 16:57:17 +00:00
/// Reset SGR parameters.
Reset = 0,
/// Bold text.
Bold = 1,
/// Fainted text (not widely supported).
Faint = 2,
/// Italic text.
Italic = 3,
/// Underlined text.
Underline = 4,
/// Blinking text (not widely supported).
Blink = 5,
/// Inverted colors (negative mode).
Invert = 7,
/// Crossed out text (not widely supported).
CrossedOut = 9,
/// Framed text (not widely supported).
Framed = 51,
}