Age | Commit message (Collapse) | Author |
|
* fix(formatting): improve accuracy
* style(format): line length
* fix(formatting): use mebi/gibi/tibi bytes
* style(format): fmt
|
|
issue in #177)
|
|
* fix panic when slice str
* copy code from diskonaut
* typo fix
|
|
|
|
|
|
Thanks @TheLostLambda
|
|
Conflicts:
src/display/components/layout.rs
src/display/ui.rs
src/main.rs
|
|
- Split the logic for determining the elapsed time into a function
as it was called in different placed in main.rs.
|
|
|
|
* Window ordering ability
Added ability to change display order of the windows using tab. Added a help tooltip.
* fix redundant clone
* fix fmt check
* cargo fmt fix 2
* Fixed help layout and added tests
* Fix fmt check
|
|
|
|
|
|
Simply replacing the "1 \n" write events with "2 \n" when we check the
snapshots to make them consistent. There may still be issues with timing
in the tests, but can serve as a stop-gap.
|
|
|
|
Now selectively printing out the duration of the capture based on
calculating the exact length of the strings and the width of the
terminal window. This has simplified this code substantially as well, no
longer having to split the header into parts (currently we are printing
to the same rect, but left and right aligned for the respective parts of
the header).
|
|
|
|
- Needed to set max number of columns to 3.
|
|
|
|
1, 2, or 3 sections will be used based on differing widths.
|
|
We now have the bandwidth data, paused status and duration in separate
columns.
|
|
|
|
- Only show the capture time on use of the utilization flag
- Make colour consistent in header
- Prioritize rendering of the Bandwidth over the duration
- Reduce length of time description
|
|
|
|
|
|
packet_builder releases
|
|
The bandwidth print has a leading space, so this should have a trailing
space.
|
|
|
|
A RwLock should be more performant.
|
|
- Rename Bandwidth to HeaderDetails to indicate the added information
it now contains.
- Split the rendering function for the header into its constituent
parts
|
|
|
|
This elapsed time pauses during pause sections and restarts on
resumption.
Ongoing:
- Consider a RwLock instead of a Mutex for the elapsed time and
cumulative time values, as these are only written by the UI thread
and read elsewhere.
- Combine the cumulative time and start times into a struct for
clarity.
- Separate out the elapsed time from the Bandwidth, as they are
separate considerations, leading to altering the rendering of the
header to write bandwidth and elapsed time separately.
|
|
|
|
* Add accumlated usage
* Fixed a nasty performace leak
* Fix a silly reverse-ordering bug
* Address some feedback
* Finished some reorganizing
* Another silly reversal bug
* Let the test cases run
* Most tests are working
* Fix some formatting that got left behind
* Fix the rest of the tests
* Add some new tests to cover the total mode
* Whoops, a double newline
|
|
* add filter by dns queries
* update snapshots with cargo fmt
* add tests with filtering improvement
|
|
|
|
* Initial
* Add errors file
* Update
* Add error message
* Update
* Add kind method
* Update error kind
* Update get_datalink_channel
* Update unused var
* Initial
* Add errors file
* Update
* Add error message
* Update
* Add kind method
* Update error kind
* Update error message
* Update error name
* Update error messages
* Update message
* Update
* Update error message
* format
* format2
* update
* Update error checking
* format
* refactor
* reduce message
* remove unused code
* fix lint
* wip
* add multiline
* add handle_errors
* update fold
* update
* clippy
* Update
* spaces
* fix(error-handling): display interface names in errors
* style(format): rustfmt
Co-authored-by: Aram Drevekenin <aram@poor.dev>
|
|
|
|
Update description about capabilities needed
|
|
|
|
Show UNKNOWN in the process list
|
|
|
|
|
|
|
|
|
|
* added first version (no tests)
* fixed layout
* added support for 2 windows
* comments
* breathing windows
* added tests
* format
* fixed rebase
* review
* added more tests
* simplified table creation
* fix(table): do not overflow on max size
Co-authored-by: Aram Drevekenin <aram@poor.dev>
|
|
Support Ipv6
|
|
|
|
|
|
* fix(ui-state): do not overcalculate bandwidth and connections
* fix(ui-state): style and bug
* style(format): make clippy happy
|
|
Tested in Linux. When offline, /etc/resolve.conf is a broken symlink,
so opening it yields an IO error. It should work similarly in other OSs as the
resolver is OS-agnostic.
Before, the message was simply: Error: io error. After this change, a more
informative message is shown.
|