aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Mehri2023-11-05 16:15:49 +0000
committerMichael Davis2023-11-18 07:07:57 +0000
commit09c78e8b4e36cff0a4c00a0de3fc691dbf0e4873 (patch)
tree10eea6bd5d29f9d625ef97962b92bff1059ca351
parentd4a0eba1a7de3961a321e5220376c61634ec8cc4 (diff)
make switch case commands exit select mode
-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 e73fe2ed..a783fc68 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -1528,6 +1528,7 @@ where
});
doc.apply(&transaction, view.id);
+ exit_select_mode(cx);
}
fn switch_case(cx: &mut Context) {