on master help sign in
Exit select mode after toggle_comment. Fixes #597 (#598)
18c0509Yerlan
helix-term/src/commands.rs+1
@@ -3926,6 +3926,7 @@ fn toggle_comments(cx: &mut Context) {
3926
3926
3927 doc.apply(&transaction, view.id);
3927 doc.apply(&transaction, view.id);
3928 doc.append_changes_to_history(view.id);
3928 doc.append_changes_to_history(view.id);
3929+ exit_select_mode(cx);
3929}
3930}
3930
3931
3931fn rotate_selections(cx: &mut Context, direction: Direction) {
3932fn rotate_selections(cx: &mut Context, direction: Direction) {