summaryrefslogtreecommitdiffstats
path: root/src/options.rs
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2020-08-07 01:29:20 -0700
committerGitHub <noreply@github.com>2020-08-07 04:29:20 -0400
commit30bdaa6073ad28eb1083997e874654727460fcbb (patch)
tree07a373b3f2493c9c6e2872ceec617127ee5dc8d8 /src/options.rs
parentd2129056e3f04c961a28099510d3bd577925af47 (diff)
feature: add full command to process widget
This PR adds the ability to toggle between the process name and process path. Currently, this uses `P` as the modifier key. Currently, the longer command names are dealt with by forcefully changing the width of the columns, but this can be handled in a more graceful manner IMO.
Diffstat (limited to 'src/options.rs')
-rw-r--r--src/options.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/options.rs b/src/options.rs
index 27f087bf..634a478f 100644
--- a/src/options.rs
+++ b/src/options.rs
@@ -357,8 +357,6 @@ fn get_temperature(
/// Yes, this function gets whether to show average CPU (true) or not (false)
fn get_show_average_cpu(matches: &clap::ArgMatches<'static>, config: &Config) -> bool {
- // FIXME: Update the demo config file and default config files! Need to remove
- // old options and change to hide_avg_cpu option.
if matches.is_present("HIDE_AVG_CPU") {
return false;
} else if let Some(flags) = &config.flags {