mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-26 03:07:18 +02:00
Fix edge cases when handling multiple selection
This commit is contained in:
parent
82718db2f9
commit
b6945ec785
3 changed files with 13 additions and 9 deletions
|
@ -37,7 +37,7 @@ impl Default for TableState {
|
|||
fn default() -> TableState {
|
||||
TableState {
|
||||
offset: 0,
|
||||
current_selection: None,
|
||||
current_selection: Some(0),
|
||||
marked: HashSet::new(),
|
||||
mode: TableMode::SingleSelection,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue