diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2020-08-21 19:59:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-21 22:59:49 -0400 |
commit | c82f4d40b40649ae53037701fadc2f5c1be9e901 (patch) | |
tree | dd7e24db33aea9528c6834732479e92a3c12a0e1 /src/constants.rs | |
parent | ff15649be77f2e66444cc98e1b1e87a20767eeef (diff) |
feature: Support memb (mem bytes) searching in processes
Supports searching by the new mem value.
Diffstat (limited to 'src/constants.rs')
-rw-r--r-- | src/constants.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/constants.rs b/src/constants.rs index 5710b040..e0338ea7 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -107,7 +107,7 @@ pub const PROCESS_HELP_TEXT: [&str; 12] = [ "% Toggle between values and percentages for memory usage", ]; -pub const SEARCH_HELP_TEXT: [&str; 43] = [ +pub const SEARCH_HELP_TEXT: [&str; 44] = [ "4 - Process search widget\n", "Tab Toggle between searching for PID and name\n", "Esc Close the search widget (retains the filter)\n", @@ -126,6 +126,7 @@ pub const SEARCH_HELP_TEXT: [&str; 43] = [ "pid ex: pid 825\n", "cpu ex: cpu > 4.2\n", "mem ex: mem < 4.2\n", + "memb ex: memb < 100 kb\n", "read ex: read >= 1 b\n", "write ex: write <= 1 tb\n", "tread ex: tread = 1\n", |