Skip to content

Commit

Permalink
feat(tui): allow modifying column visibiliy and order in setting - WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiapple852 committed Mar 2, 2024
1 parent 809308f commit e1233bc
Show file tree
Hide file tree
Showing 5 changed files with 326 additions and 209 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 e1233bc

Please sign in to comment.