summaryrefslogtreecommitdiffstats
path: root/src/stackexchange.rs
diff options
context:
space:
mode:
authorSam Tay <sam.chong.tay@gmail.com>2020-06-07 18:28:10 -0700
committerSam Tay <sam.chong.tay@gmail.com>2020-06-07 18:36:39 -0700
commit1bf39e9128b67e234aa0306ee19b41342bd8c4e1 (patch)
tree8bed8569254df81e73359711fb3900944dc3f431 /src/stackexchange.rs
parent556612119a77d8235904819a2f17a8ed82ca304c (diff)
Leverage termimad to print sites in a table
And scrap all the crossterm wrappers in term.rs
Diffstat (limited to 'src/stackexchange.rs')
-rw-r--r--src/stackexchange.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stackexchange.rs b/src/stackexchange.rs
index 10edaea..58a2c0f 100644
--- a/src/stackexchange.rs
+++ b/src/stackexchange.rs
@@ -145,6 +145,7 @@ impl LocalStorage {
}
// TODO make this async, inform user if we are downloading
+ // TODO issue EmptySites from here when appropriate
pub fn sites(&mut self) -> Result<&Vec<Site>> {
// Stop once Option ~ Some or Result ~ Err
if self.sites.is_some() {