tmux-copyrat/src/ui/selection.rs

10 lines
306 B
Rust
Raw Normal View History

2021-03-21 15:50:58 +01:00
use crate::config::extended::OutputDestination;
/// Represents the text selected by the user, along with if it was uppercased
/// and the output destination (Tmux buffer or Clipboard).
pub struct Selection {
pub text: String,
pub uppercased: bool,
pub output_destination: OutputDestination,
}