feat: Adding toggle (#8)
* feat: Adding toggle * Update src/lib.rs Return unneded Co-authored-by: EdJoPaTo <github@edjopato.de> Co-authored-by: EdJoPaTo <github@edjopato.de>
This commit is contained in:
@@ -82,6 +82,9 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
Key::Right => {
|
||||
app.tree.open();
|
||||
}
|
||||
Key::Char('\n') => {
|
||||
app.tree.toggle();
|
||||
}
|
||||
Key::Down => {
|
||||
app.tree.next();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user