summaryrefslogtreecommitdiffstats
path: root/src/constants.rs
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2021-02-18 17:10:51 -0500
committerGitHub <noreply@github.com>2021-02-18 17:10:51 -0500
commit4db39da75e00e45cc50c8143ff5eba3d92525dbd (patch)
treedbaab3c59fec5001e48621a13c2301936ae7b056 /src/constants.rs
parentce9818d93560fbe8d439d20f8c7a3ec6e082c8b3 (diff)
feature: Add mouse support to sorting columns (#413)
Adds mouse support for sorting columns within the process widget. You can now click on the column header to sort (or invert the sort).
Diffstat (limited to 'src/constants.rs')
-rw-r--r--src/constants.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/constants.rs b/src/constants.rs
index 70131acb..e660125e 100644
--- a/src/constants.rs
+++ b/src/constants.rs
@@ -254,7 +254,7 @@ pub const CPU_HELP_TEXT: [&str; 2] = [
"Mouse scroll Scrolling over an CPU core/average shows only that entry on the chart",
];
-pub const PROCESS_HELP_TEXT: [&str; 14] = [
+pub const PROCESS_HELP_TEXT: [&str; 15] = [
"3 - Process widget",
"dd Kill the selected process",
"c Sort by CPU usage, press again to reverse sorting order",
@@ -269,6 +269,7 @@ pub const PROCESS_HELP_TEXT: [&str; 14] = [
"% Toggle between values and percentages for memory usage",
"t, F5 Toggle tree mode",
"+, -, click Collapse/expand a branch while in tree mode",
+ "click on header Sorts the entries by that column, click again to invert the sort",
];
pub const SEARCH_HELP_TEXT: [&str; 48] = [