mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-25 17:57:19 +02:00
Fix backtab completion when completion pane is not shown
This commit is contained in:
parent
8200c247cd
commit
403f7960c2
1 changed files with 5 additions and 5 deletions
10
src/app.rs
10
src/app.rs
|
@ -2294,7 +2294,7 @@ impl TaskwarriorTuiApp {
|
|||
}
|
||||
}
|
||||
Key::BackTab | Key::Ctrl('p') => {
|
||||
if !self.completion_list.is_empty() {
|
||||
if self.show_completion_pane && !self.completion_list.is_empty() {
|
||||
self.completion_list.previous();
|
||||
}
|
||||
}
|
||||
|
@ -2388,7 +2388,7 @@ impl TaskwarriorTuiApp {
|
|||
}
|
||||
}
|
||||
Key::BackTab | Key::Ctrl('p') => {
|
||||
if !self.completion_list.is_empty() {
|
||||
if self.show_completion_pane && !self.completion_list.is_empty() {
|
||||
self.completion_list.previous();
|
||||
}
|
||||
}
|
||||
|
@ -2464,7 +2464,7 @@ impl TaskwarriorTuiApp {
|
|||
}
|
||||
}
|
||||
Key::BackTab | Key::Ctrl('p') => {
|
||||
if !self.completion_list.is_empty() {
|
||||
if self.show_completion_pane && !self.completion_list.is_empty() {
|
||||
self.completion_list.previous();
|
||||
}
|
||||
}
|
||||
|
@ -2559,7 +2559,7 @@ impl TaskwarriorTuiApp {
|
|||
}
|
||||
}
|
||||
Key::BackTab | Key::Ctrl('p') => {
|
||||
if !self.completion_list.is_empty() {
|
||||
if self.show_completion_pane && !self.completion_list.is_empty() {
|
||||
self.completion_list.previous();
|
||||
}
|
||||
}
|
||||
|
@ -2654,7 +2654,7 @@ impl TaskwarriorTuiApp {
|
|||
}
|
||||
}
|
||||
Key::BackTab | Key::Ctrl('p') => {
|
||||
if !self.completion_list.is_empty() {
|
||||
if self.show_completion_pane && !self.completion_list.is_empty() {
|
||||
self.completion_list.previous();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue