[style] add enum for text alignment

pull/58/head
Robin Nehls 6 years ago committed by Florian Dehau
parent 36146d970a
commit 5981767543

@ -40,6 +40,13 @@ pub enum Modifier {
Underline,
}
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum Alignment {
Left,
Center,
Right,
}
#[derive(Debug, Clone, Copy, PartialEq)]
pub struct Style {
pub fg: Color,

Loading…
Cancel
Save