tmux-copyrat/src/ui/hint_alignment.rs

10 lines
257 B
Rust
Raw Normal View History

2022-11-07 00:02:27 +01:00
use clap::{Parser, ValueEnum};
/// Describes if, during rendering, a hint should aligned to the leading edge of
/// the matched text, or to its trailing edge.
2022-11-07 00:02:27 +01:00
#[derive(Debug, Clone, ValueEnum, Parser)]
pub enum HintAlignment {
Leading,
Trailing,
}