-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add double and triple click selection (#295)
* refactor: move selection things out of the renderer into its own struct * refactor+feat: Move even more out of the renderer and add basic double and triple clicking This is still realy broken * fix: moved the logic to get the text behind an condition and could therefore remove some complexity * fmt and adding selection for summarys * fmt and adding selection for summarys chore: removed an debug message * Add must This is added so we don't forget to redraw the window Co-authored-by: CosmicHorror <CosmicHorrorDev@pm.me> * Remove leftover comments * Use more fitting types for durations * Removed useless check * fix: add check so double clicking whitespace doesn't select it and an check for the case cursor.index.. would retrun more than desired * fmt --------- Co-authored-by: CosmicHorror <CosmicHorrorDev@pm.me>
- Loading branch information
1 parent
3cef713
commit c0541d7
Showing
5 changed files
with
304 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.