aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer/threads.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer/threads.rs')
-rw-r--r--src/buffer/threads.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer/threads.rs b/src/buffer/threads.rs
index edc2339..49d9924 100644
--- a/src/buffer/threads.rs
+++ b/src/buffer/threads.rs
@@ -12,6 +12,7 @@ pub struct Threads {
query: String,
}
+#[derive(Clone)]
pub struct Thread {
subject: String,
authors: Vec<String>,
@@ -66,6 +67,7 @@ impl Threads {
.unwrap()
.map(Thread::new)
.collect();
+ self.threads.append(&mut self.threads.clone());
}
pub fn fill_window(&self, window: &mut Window) {