Skip to content

Commit

Permalink
feat(tui): allow modifying column visibiliy and order in setting (#1026
Browse files Browse the repository at this point in the history
…) - WIP
  • Loading branch information
fujiapple852 committed Mar 29, 2024
1 parent 94990f4 commit 2dbc441
Show file tree
Hide file tree
Showing 5 changed files with 309 additions and 134 deletions.
7 changes: 7 additions & 0 deletions src/frontend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,13 @@ fn run_app<B: Backend>(
app.next_settings_item();
} else if bindings.previous_hop.check(key) {
app.previous_settings_item();
// TODO what key for this?
} else if bindings.toggle_chart.check(key) {
app.toggle_column_visibility();
} else if bindings.next_hop_address.check(key) {
app.move_column_down();
} else if bindings.previous_hop_address.check(key) {
app.move_column_up();
}
} else if bindings.toggle_help.check(key) || bindings.toggle_help_alt.check(key)
{
Expand Down
Loading

0 comments on commit 2dbc441

Please sign in to comment.