summaryrefslogtreecommitdiffstats
path: root/src/app.rs
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2020-09-26 20:04:34 -0400
committerClementTsang <cjhtsang@uwaterloo.ca>2020-09-26 20:21:59 -0400
commit750d8f3cb747103cca7a2a4afe8ff41ff1318b6f (patch)
treeac34a6a538c1f94cb395b20a23c9186b749ca6e6 /src/app.rs
parent6db76029e2419d53c81cb2111e487f83ee248a2f (diff)
refactor: tui-rs 0.11.0 refactor (#253)
Refactors tui-rs usage to the new 0.11.0 release. This release also fixes the highlighting bug from #249, and now, expanding a widget no longer overrides the widget title colour. This commit also introduces #255, but that seems to be easy to bandaid so hopefully it will get fixed soon?
Diffstat (limited to 'src/app.rs')
-rw-r--r--src/app.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app.rs b/src/app.rs
index 33c11ebd..3eda03ad 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -1276,6 +1276,7 @@ impl App {
}
/// Call this whenever the config value is updated!
+ #[allow(dead_code)] //FIXME: Remove this
fn update_config_file(&mut self) -> anyhow::Result<()> {
if self.app_config_fields.no_write {
// Don't write!