Skip to content

Commit

Permalink
move self.state.set_selection back to start_selection
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Oct 20, 2023
1 parent 885a139 commit 2ca9706
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rio/src/screen/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,7 @@ impl Screen {
self.copy_selection(ClipboardType::Selection);
let mut terminal = self.context_manager.current().terminal.lock();
let selection = Selection::new(ty, point, side);
self.state.set_selection(selection.to_range(&terminal));
terminal.selection = Some(selection);
drop(terminal);
}
Expand Down

0 comments on commit 2ca9706

Please sign in to comment.