tmux-copyrat/src/ui/selection.rs
2021-03-22 08:58:35 +01:00

9 lines
306 B
Rust

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,
}