diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2021-02-28 17:40:55 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-28 17:40:55 -0500 |
commit | 53d8bdae3280854c428b4bf7de4bf765bcd4f6e4 (patch) | |
tree | fa949fe0d5c8ae12305e1cc85b27b5d4895f3817 /src/constants.rs | |
parent | c406d956994dc0e7d1ef734dcc402ad49ae642f6 (diff) |
feature: User info in proc widget for Unix-based systems (#425)
Adds users into the process widget (for Unix-based systems). This shows only in non-grouped modes, similar to state. Search is also supported.
In addition, a quick fix to prevent users from being in grouped mode when they tried to enter tree mode while grouped.
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 38c5ef6a..fa6d4b6c 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -272,7 +272,7 @@ pub const PROCESS_HELP_TEXT: [&str; 15] = [ "click on header Sorts the entries by that column, click again to invert the sort", ]; -pub const SEARCH_HELP_TEXT: [&str; 48] = [ +pub const SEARCH_HELP_TEXT: [&str; 49] = [ "4 - Process search widget", "Tab Toggle between searching for PID and name", "Esc Close the search widget (retains the filter)", @@ -299,6 +299,7 @@ pub const SEARCH_HELP_TEXT: [&str; 48] = [ "write, w/s ex: write <= 1 tb", "tread, t.read ex: tread = 1", "twrite, t.write ex: twrite = 1", + "user ex: user = root", "state ex: state = running", "", "Comparison operators:", |