summaryrefslogtreecommitdiff
path: root/helix-term/src/commands.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/commands.rs')
-rw-r--r--helix-term/src/commands.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index b5671723..4c154979 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -3926,6 +3926,7 @@ fn toggle_comments(cx: &mut Context) {
doc.apply(&transaction, view.id);
doc.append_changes_to_history(view.id);
+ exit_select_mode(cx);
}
fn rotate_selections(cx: &mut Context, direction: Direction) {