mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-25 17:57:19 +02:00
Switch to single selection mode if no selection is made
This commit is contained in:
parent
dd3bf47cae
commit
0c34345ac4
1 changed files with 4 additions and 0 deletions
|
@ -1628,6 +1628,10 @@ impl TTApp {
|
|||
} else if input == self.keyconfig.select {
|
||||
self.task_table_state.multiple_selection();
|
||||
self.toggle_mark();
|
||||
if self.marked.is_empty() {
|
||||
self.task_table_state.single_selection();
|
||||
self.task_table_state.clear();
|
||||
}
|
||||
} else if input == self.keyconfig.refresh {
|
||||
self.update(true)?;
|
||||
} else if input == self.keyconfig.go_to_bottom || input == Key::End {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue