@vincentzyuapps/winload 0.1.8-beta.2 → 0.1.8-beta.4

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.
Files changed (2) hide show
  1. package/package.json +7 -7
  2. package/readme.md +13 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vincentzyuapps/winload",
3
- "version": "0.1.8-beta.2",
3
+ "version": "0.1.8-beta.4",
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.8-beta.2",
37
- "@vincentzyuapps/winload-win32-arm64": "0.1.8-beta.2",
38
- "@vincentzyuapps/winload-linux-x64": "0.1.8-beta.2",
39
- "@vincentzyuapps/winload-linux-arm64": "0.1.8-beta.2",
40
- "@vincentzyuapps/winload-darwin-x64": "0.1.8-beta.2",
41
- "@vincentzyuapps/winload-darwin-arm64": "0.1.8-beta.2"
36
+ "@vincentzyuapps/winload-win32-x64": "0.1.8-beta.4",
37
+ "@vincentzyuapps/winload-win32-arm64": "0.1.8-beta.4",
38
+ "@vincentzyuapps/winload-linux-x64": "0.1.8-beta.4",
39
+ "@vincentzyuapps/winload-linux-arm64": "0.1.8-beta.4",
40
+ "@vincentzyuapps/winload-darwin-x64": "0.1.8-beta.4",
41
+ "@vincentzyuapps/winload-darwin-arm64": "0.1.8-beta.4"
42
42
  }
43
43
  }
package/readme.md CHANGED
@@ -170,21 +170,32 @@ winload --npcap # Capture 127.0.0.1 loopback traffic (Windows, requires Npc
170
170
  | `-b`, `--bar-style <STYLE>` | Bar style: `fill`, `color`, or `plain` | `fill` |
171
171
  | `--in-color <HEX>` | Incoming graph color, hex RGB (e.g. `0x00d7ff`) | cyan |
172
172
  | `--out-color <HEX>` | Outgoing graph color, hex RGB (e.g. `0xffaf00`) | gold |
173
- | `-m`, `--max <VALUE>` | Fixed Y-axis max (e.g. `10M`, `1G`, `500K`) | auto |
173
+ | `-m`, `--max <VALUE>` | Fixed Y-axis max (e.g. `10M`, `1G`, `500K`) — *conflicts with `--smart-max`* | auto |
174
+ | `--smart-max [SECS]` | Smart adaptive Y-axis: auto-decays after traffic spikes (default half-life: 10s) — *conflicts with `--max`* | off |
174
175
  | `-n`, `--no-graph` | Hide graph, show stats only | off |
175
176
  | `--hide-separator` | Hide the separator line (row of equals signs) | off |
176
177
  | `--no-color` | Disable all TUI colors (monochrome mode) | off |
177
- | `--smart-max [SECS]` | Smart adaptive Y-axis: auto-decays after traffic spikes (default half-life: 10s) | off |
178
178
  | `--npcap` | **[Windows Rust Only]** Capture loopback traffic via Npcap (recommended) | off |
179
179
  | `--debug-info` | Print network interface debug info and exit | — |
180
180
  | `-h`, `--help` | Print help (`--help --emoji` for emoji version!) | — |
181
181
  | `-V`, `--version` | Print version | — |
182
182
 
183
+ > **Y-axis scaling modes** — there are three mutually exclusive scenarios:
184
+ >
185
+ > | Mode | Flag | Behavior |
186
+ > |------|------|----------|
187
+ > | **Fixed max** | `--max <VALUE>` | Y-axis is locked to the specified value (e.g. `10M`, `1G`). |
188
+ > | **Smart max** | `--smart-max [SECS]` | Y-axis adapts automatically: jumps up on traffic spikes, then smoothly decays back down (exponential decay, default half-life 10 s). |
189
+ > | **History peak** | *(neither flag)* | Y-axis follows the historical maximum of each metric — the default behavior. |
190
+ >
191
+ > ⚠️ `--max` and `--smart-max` **conflict with each other** — you can only use one at a time.
192
+
183
193
  ### Keyboard Shortcuts
184
194
 
185
195
  | Key | Action |
186
196
  |-----|--------|
187
197
  | `←` / `→` or `↑` / `↓` | Switch network device |
198
+ | `F3` | Toggle debug info overlay (Minecraft-style) |
188
199
  | `=` | Toggle separator line visibility |
189
200
  | `c` | Toggle color on/off |
190
201
  | `q` / `Esc` | Quit |