Skip to content

Commit

Permalink
selection p3
Browse files Browse the repository at this point in the history
  • Loading branch information
Kacperacy committed Jun 24, 2024
1 parent 1d19151 commit 2edb80e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,11 @@ impl App {
return;
}

if is_selection && !self.is_selecting {
self.is_selecting = true;
self.selecting_position = self.get_cursor_position();
}

if self.status != DEFAULT_STATUS {
self.status = DEFAULT_STATUS.into();
}
Expand Down

0 comments on commit 2edb80e

Please sign in to comment.