refactor: selection.rs -> ui/selection.rs

This commit is contained in:
graelo 2021-03-19 23:17:41 +01:00
parent 748da3ae72
commit a5e3ed263c
6 changed files with 10 additions and 6 deletions

9
src/ui/selection.rs Normal file
View file

@ -0,0 +1,9 @@
use crate::output_destination::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,
}