diff options
author | Yerlan | 2021-08-17 00:52:52 +0000 |
---|---|---|
committer | GitHub | 2021-08-17 00:52:52 +0000 |
commit | 18c05095935509a85fc014379fc63a2b6b50aaf5 (patch) | |
tree | e1184335d39562f36a190dc87d91f9a36c899f26 /helix-term | |
parent | 9912bd7821213235c03944f85af6365155fb3247 (diff) |
Exit select mode after toggle_comment. Fixes #597 (#598)
Consistent with yanking, exit select mode after toggling comment. Fixes #597
Diffstat (limited to 'helix-term')
-rw-r--r-- | helix-term/src/commands.rs | 1 |
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) { |