summaryrefslogtreecommitdiff
path: root/helix-term/src/ui/prompt.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-12-06 03:24:25 +0000
committerBlaž Hrastnik2021-12-06 03:25:19 +0000
commitcab09093dd5bf9b4707bfdfd8529b348c02670ea (patch)
tree352f34c1b5478948ab62d1169428ec8b6da8297a /helix-term/src/ui/prompt.rs
parent461cd2056336c26138c96a4f0769f08d527be039 (diff)
fix: Normalize backtab into shift-tab
Fixes #1150
Diffstat (limited to 'helix-term/src/ui/prompt.rs')
-rw-r--r--helix-term/src/ui/prompt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/prompt.rs b/helix-term/src/ui/prompt.rs
index e90b0772..a7ef231c 100644
--- a/helix-term/src/ui/prompt.rs
+++ b/helix-term/src/ui/prompt.rs
@@ -505,7 +505,7 @@ impl Component for Prompt {
self.change_completion_selection(CompletionDirection::Forward);
(self.callback_fn)(cx, &self.line, PromptEvent::Update)
}
- shift!(BackTab) => {
+ shift!(Tab) => {
self.change_completion_selection(CompletionDirection::Backward);
(self.callback_fn)(cx, &self.line, PromptEvent::Update)
}