winload-rust-bin 0.1.9 → 0.1.10-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -7
- package/readme.md +11 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "winload-rust-bin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10-beta.1",
|
|
4
4
|
"description": "Network Load Monitor — nload-like TUI tool for Windows/Linux/macOS (prebuilt Rust binary)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
35
|
"optionalDependencies": {
|
|
36
|
-
"@vincentzyuapps/winload-win32-x64": "0.1.
|
|
37
|
-
"@vincentzyuapps/winload-win32-arm64": "0.1.
|
|
38
|
-
"@vincentzyuapps/winload-linux-x64": "0.1.
|
|
39
|
-
"@vincentzyuapps/winload-linux-arm64": "0.1.
|
|
40
|
-
"@vincentzyuapps/winload-darwin-x64": "0.1.
|
|
41
|
-
"@vincentzyuapps/winload-darwin-arm64": "0.1.
|
|
36
|
+
"@vincentzyuapps/winload-win32-x64": "0.1.10-beta.1",
|
|
37
|
+
"@vincentzyuapps/winload-win32-arm64": "0.1.10-beta.1",
|
|
38
|
+
"@vincentzyuapps/winload-linux-x64": "0.1.10-beta.1",
|
|
39
|
+
"@vincentzyuapps/winload-linux-arm64": "0.1.10-beta.1",
|
|
40
|
+
"@vincentzyuapps/winload-darwin-x64": "0.1.10-beta.1",
|
|
41
|
+
"@vincentzyuapps/winload-darwin-arm64": "0.1.10-beta.1"
|
|
42
42
|
}
|
|
43
43
|
}
|
package/readme.md
CHANGED
|
@@ -202,10 +202,11 @@ which winload
|
|
|
202
202
|
winload # Monitor all active network interfaces
|
|
203
203
|
winload -t 200 # Set refresh interval to 200ms
|
|
204
204
|
winload -d "Wi-Fi" # Start with a specific device
|
|
205
|
-
winload --title # Show "winload <version>" as the header title
|
|
206
205
|
winload --title "My Monitor" # Use a custom header title
|
|
207
|
-
winload --title "" # Keep the default device header
|
|
208
206
|
winload -e # Enable emoji decorations 🎉
|
|
207
|
+
winload --max-mode smart --max-half-life 10 # Smooth adaptive Y-axis (default)
|
|
208
|
+
winload --max-mode legacy # nload-style visible-history scaling
|
|
209
|
+
winload --max-mode fixed --max-y-value 10M # Fixed Y-axis max
|
|
209
210
|
winload --npcap # Capture 127.0.0.1 loopback traffic (Windows, requires Npcap)
|
|
210
211
|
winload --netlink # Manually enable RTNETLINK (Linux/Android Rust edition, off by default)
|
|
211
212
|
```
|
|
@@ -224,8 +225,9 @@ winload --netlink # Manually enable RTNETLINK (Linux/Android Rust edition, of
|
|
|
224
225
|
| `-b`, `--bar-style <STYLE>` | Bar style: `fill`, `color`, or `plain` | `fill` |
|
|
225
226
|
| `--in-color <HEX>` | Incoming graph color, hex RGB (e.g. `0x00d7ff`) | cyan |
|
|
226
227
|
| `--out-color <HEX>` | Outgoing graph color, hex RGB (e.g. `0xffaf00`) | gold |
|
|
227
|
-
|
|
|
228
|
-
| `--
|
|
228
|
+
| `--max-mode <MODE>` | Y-axis scaling mode: `smart`, `legacy`, or `fixed` | `smart` |
|
|
229
|
+
| `--max-half-life <SECS>` | Half-life for smart Y-axis decay | `10` |
|
|
230
|
+
| `--max-y-value <VALUE>` | Fixed Y-axis max for `--max-mode fixed` (e.g. `10M`, `1G`, `500K`) | — |
|
|
229
231
|
| `-n`, `--no-graph` | Hide graph, show stats only | off |
|
|
230
232
|
| `--hide-separator` | Hide the separator line (row of equals signs) | off |
|
|
231
233
|
| `--no-color` | Disable all TUI colors (monochrome mode) | off |
|
|
@@ -235,15 +237,15 @@ winload --netlink # Manually enable RTNETLINK (Linux/Android Rust edition, of
|
|
|
235
237
|
| `-h`, `--help` | Print help (`--help --emoji` for emoji version!) | — |
|
|
236
238
|
| `-V`, `--version` | Print version | — |
|
|
237
239
|
|
|
238
|
-
> **Y-axis scaling modes**
|
|
240
|
+
> **Y-axis scaling modes**
|
|
239
241
|
>
|
|
240
242
|
> | Mode | Flag | Behavior |
|
|
241
243
|
> |------|------|----------|
|
|
242
|
-
> | **
|
|
243
|
-
> | **
|
|
244
|
-
> | **
|
|
244
|
+
> | **smart** | `--max-mode smart --max-half-life 10` | Default. Jumps up on traffic spikes, then smoothly decays back down. |
|
|
245
|
+
> | **legacy** | `--max-mode legacy` | nload-style scaling based on the visible graph history peak. |
|
|
246
|
+
> | **fixed** | `--max-mode fixed --max-y-value 10M` | Locks the Y-axis to the specified value. |
|
|
245
247
|
>
|
|
246
|
-
>
|
|
248
|
+
> `--max-y-value` is only valid with `--max-mode fixed`; `--max-half-life` is only valid with `--max-mode smart`.
|
|
247
249
|
|
|
248
250
|
### Keyboard Shortcuts
|
|
249
251
|
|