tabs
This commit is contained in:
12
src/main.rs
12
src/main.rs
@@ -90,6 +90,18 @@ where
|
||||
app.previous_tr();
|
||||
}
|
||||
},
|
||||
KeyCode::Char('l') => match app.current_widget {
|
||||
CurrentWidget::AccountList => {}
|
||||
CurrentWidget::TrxList => {
|
||||
app.next_tab();
|
||||
}
|
||||
},
|
||||
KeyCode::Char('h') => match app.current_widget {
|
||||
CurrentWidget::AccountList => {}
|
||||
CurrentWidget::TrxList => {
|
||||
app.previous_tab();
|
||||
}
|
||||
},
|
||||
KeyCode::Char('n') => match app.current_widget {
|
||||
CurrentWidget::AccountList => {
|
||||
app.current_screen = CurrentScreen::NewAccount;
|
||||
|
||||
Reference in New Issue
Block a user