tmux-copyrat/src/ui/hint_alignment.rs
2021-10-24 10:02:11 +02:00

9 lines
253 B
Rust

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.
#[derive(Debug, Clone, ArgEnum, Parser)]
pub enum HintAlignment {
Leading,
Trailing,
}