Skip to content

Commit

Permalink
feat(tui): allow modifying column visibility and order in settings (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiapple852 committed Mar 29, 2024
1 parent 94990f4 commit c33a1a8
Show file tree
Hide file tree
Showing 5 changed files with 320 additions and 141 deletions.
6 changes: 6 additions & 0 deletions src/frontend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ fn run_app<B: Backend>(
app.next_settings_item();
} else if bindings.previous_hop.check(key) {
app.previous_settings_item();
} 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 c33a1a8

Please sign in to comment.