Skip to content
Snippets Groups Projects
Unverified Commit c785faee authored by StaffEngineer's avatar StaffEngineer Committed by GitHub
Browse files

Merge pull request #12 from bytemunch/double-backspace

fix shift requiring extra backspace bug
parents 64f26551 ab259fd0
No related branches found
No related tags found
No related merge requests found
......@@ -959,6 +959,13 @@ pub fn cosmic_edit_bevy_events(
return;
}
// fix for issue #8
if let Some(select) = editor.select_opt() {
if editor.cursor().line == select.line && editor.cursor().index == select.index {
editor.set_select_opt(None);
}
}
let mut is_edit = is_clipboard;
let mut is_return = false;
if keys.just_pressed(KeyCode::Return) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment