tmux-copyrat/src/ui/hint_alignment.rs

10 lines
253 B
Rust
Raw Normal View History

2021-10-24 09:33:55 +02:00
use clap::{ArgEnum, Parser};
/// Describes if, during rendering, a hint should aligned to the leading edge of
/// the matched text, or to its trailing edge.
2021-10-24 09:33:55 +02:00
#[derive(Debug, Clone, ArgEnum, Parser)]
pub enum HintAlignment {
Leading,
Trailing,
}