Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
* Remove connections vector from OpenSockets, use common OpenSockets implementation based on sysinfo and netstat2.
* Replace termion backend with crossterm, which works on Windows as well.
* More fixes for windows build.
* Remove tui default-features (termion), update unit tests for crossterm.
* Windows compilation fixes.
* Remove unused get_open_sockets implementations for linux and mac. Fix formatting.
* Add build.rs for windows to download and extract Packet.lib from npcap SDK.
* Resolve Cargo.lock after merging main.
* fix(tests): adjust snapshots new location of the dns resolution
* style(clippy): clippy
* style(clippy): remove dead code
* style(clippy): use write_all in build.rs
* style(clippy): remove unused import added by Intellij
* style(review): use String instead of str
* fix(build): run build.rs only once
* fix(regression): skip iface_is_up() filter only for Windows
* fix(review): restore per os implementation of get_open_sockets()
* fix(cargo): add missing os specific packages
* fix: conditional compilation of windows module
* fix: compilation errors
* fix: missing Protocol::from_str() implementation
* style(clippy): remove unused methods
Co-authored-by: Aram Drevekenin <aram@poor.dev>
|
|
|
|
|
|
* Add all supported options to man page
This also fixes an error in the man page: It previously listed -v as
flag for printing the program version, this should be -V instead.
* Add more information to the man page
This enhances the description of bandwhich and adds common chapters:
"Copyright", "See also" and "Bugs".
|
|
|
|
* Replace termion backend with crossterm, which works on Windows as well.
* Remove tui default-features (termion), update unit tests for crossterm.
* Fix formatting.
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
|
|
* brew works on Linux too.
Linuxbrew has been merged back to Homebrew so this tools can be installed using `brew install`.
* docs(readme): clarify brew installation
Co-authored-by: Aram Drevekenin <aram@poor.dev>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
feat(interface): Added elapsed time (#167)
|
|
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
|
|
|
|
|
|
|