summaryrefslogtreecommitdiffstats
path: root/src/app.rs
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2021-06-20 22:40:58 -0700
committerGitHub <noreply@github.com>2021-06-21 01:40:58 -0400
commit06071d5abfb8b6715768e8bbb1236be49c02cf46 (patch)
tree9a53c083eeabfce6d9f934598de97f787acf7123 /src/app.rs
parenta6f6df9ff833c0763e1ba191ff9d22a74bdb1fae (diff)
docs: migrate documentation over to mkdocs (#506)
A large migration of documentation over to mkdocs, and some rewrites. Some stuff (install information, basic supported systems, contributors, thanks) are still staying in README.md, and CONTRIBUTING.md is essentially duplicated right now. However, stuff like configuration and key/mouse bindings are now moved to mkdocs. Some parts are still a bit WIP - it is definitely not done (documentation never seems to be...). However, it should be "good enough" for now, and I'm much happier working with the documentation in this form than trying to scroll through a giant endless README.md file. It also works much better for adding new documentation.
Diffstat (limited to 'src/app.rs')
-rw-r--r--src/app.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app.rs b/src/app.rs
index 5e281a86..3de4939b 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -684,6 +684,7 @@ impl App {
{
proc_widget_state.is_tree_mode = !proc_widget_state.is_tree_mode;
+ // FIXME: For consistency, either disable tree mode if grouped, or allow grouped mode if in tree mode.
if proc_widget_state.is_tree_mode {
// Disable grouping if so!
proc_widget_state.is_grouped = false;
@@ -2999,6 +3000,7 @@ impl App {
}
}
BottomWidgetType::ProcSort => {
+ // TODO: This should sort if you double click!
if let Some(proc_widget_state) = self
.proc_state
.get_widget_state(self.current_widget.widget_id - 2)