Skip to content

Commit

Permalink
doc(tui): update README.md for #1217
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiapple852 committed Jul 13, 2024
1 parent 93b6c14 commit 87e1fd6
Showing 1 changed file with 38 additions and 31 deletions.
69 changes: 38 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -790,37 +790,44 @@ Color names are case-insensitive and may contain dashes.
The following table lists the default Tui command key bindings. These can be overridden with the `--tui-key-bindings`
command line option or in the `bindings` section of the configuration file.

| Command | Description | Default |
|------------------------|-------------------------------------------------|----------|
| `toggle-help` | Toggle help | `h` |
| `toggle-help-alt` | Toggle help (alternative binding) | `?` |
| `toggle-settings` | Toggle settings | `s` |
| `next-hop` | Select next hop | `down` |
| `previous-hop` | Select previous hop | `up` |
| `next-trace` | Select next trace | `right` |
| `previous-trace` | Select previous trace | `left` |
| `next-hop-address` | Select next hop address | `.` |
| `previous-hop-address` | Select previous hop address | `,` |
| `address-mode-ip` | Show IP address only | `i` |
| `address-mode-host` | Show hostname only | `n` |
| `address-mode-both` | Show both IP address and hostname | `b` |
| `toggle-freeze` | Toggle freezing the display | `ctrl+f` |
| `toggle-chart` | Toggle the chart | `c` |
| `toggle-map` | Toggle the GeoIp map | `m` |
| `toggle-flows` | Toggle the flows | `f` |
| `toggle-privacy` | Toggle the hop privacy | `p` |
| `expand-hosts` | Expand the hosts shown per hop | `]` |
| `expand-hosts-max` | Expand the hosts shown per hop to the maximum | `}` |
| `contract-hosts` | Contract the hosts shown per hop | `[` |
| `contract-hosts-min` | Contract the hosts shown per hop to the minimum | `{` |
| `chart-zoom-in` | Zoom in the chart | `=` |
| `chart-zoom-out` | Zoom out the chart | `-` |
| `clear-trace-data` | Clear all trace data | `ctrl+r` |
| `clear-dns-cache` | Flush the DNS cache | `ctrl+k` |
| `clear-selection` | Clear the current selection | `esc` |
| `toggle-as-info` | Toggle AS info display | `z` |
| `toggle-hop-details` | Toggle hop details | `d` |
| `quit` | Quit the application | `q` |
| Command | Description | Default |
|----------------------------|-------------------------------------------------|----------|
| `toggle-help` | Toggle help | `h` |
| `toggle-help-alt` | Toggle help (alternative binding) | `?` |
| `toggle-settings` | Toggle settings | `s` |
| `toggle-settings-tui` | Open settings (Tui tab) | `1` |
| `toggle-settings-trace` | Open settings (Trace tab) | `2` |
| `toggle-settings-dns` | Open settings (Dns tab) | `3` |
| `toggle-settings-geoip` | Open settings (GeoIp tab) | `4` |
| `toggle-settings-bindings` | Open settings (Bindings tab) | `5` |
| `toggle-settings-theme` | Open settings (Theme tab) | `6` |
| `toggle-settings-columns` | Open settings (Columns tab) | `7` |
| `next-hop` | Select next hop | `down` |
| `previous-hop` | Select previous hop | `up` |
| `next-trace` | Select next trace | `right` |
| `previous-trace` | Select previous trace | `left` |
| `next-hop-address` | Select next hop address | `.` |
| `previous-hop-address` | Select previous hop address | `,` |
| `address-mode-ip` | Show IP address only | `i` |
| `address-mode-host` | Show hostname only | `n` |
| `address-mode-both` | Show both IP address and hostname | `b` |
| `toggle-freeze` | Toggle freezing the display | `ctrl+f` |
| `toggle-chart` | Toggle the chart | `c` |
| `toggle-map` | Toggle the GeoIp map | `m` |
| `toggle-flows` | Toggle the flows | `f` |
| `toggle-privacy` | Toggle the hop privacy | `p` |
| `expand-hosts` | Expand the hosts shown per hop | `]` |
| `expand-hosts-max` | Expand the hosts shown per hop to the maximum | `}` |
| `contract-hosts` | Contract the hosts shown per hop | `[` |
| `contract-hosts-min` | Contract the hosts shown per hop to the minimum | `{` |
| `chart-zoom-in` | Zoom in the chart | `=` |
| `chart-zoom-out` | Zoom out the chart | `-` |
| `clear-trace-data` | Clear all trace data | `ctrl+r` |
| `clear-dns-cache` | Flush the DNS cache | `ctrl+k` |
| `clear-selection` | Clear the current selection | `esc` |
| `toggle-as-info` | Toggle AS info display | `z` |
| `toggle-hop-details` | Toggle hop details | `d` |
| `quit` | Quit the application | `q` |

The supported modifiers are: `shift`, `ctrl`, `alt`, `super`, `hyper` & `meta`. Multiple modifiers may be specified, for
example `ctrl+shift+b`.
Expand Down

0 comments on commit 87e1fd6

Please sign in to comment.