summaryrefslogtreecommitdiffstats
path: root/src/context.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2020-03-02 11:54:47 -0500
committerJiayi Zhao <jeff.no.zhao@gmail.com>2020-03-02 11:54:47 -0500
commitabec069c233b5bf6f582882851430b3a5949b22b (patch)
tree574fdbf185679ea13a2d6f8b9f5fcd603688d0e5 /src/context.rs
parent2ac415fe4f4035c8edbcdac33aee8e54a46099f7 (diff)
add set_mode support
Diffstat (limited to 'src/context.rs')
-rw-r--r--src/context.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/context.rs b/src/context.rs
index 328f9f6..149a868 100644
--- a/src/context.rs
+++ b/src/context.rs
@@ -13,7 +13,6 @@ pub struct JoshutoContext {
pub curr_tab_index: usize,
pub tabs: Vec<JoshutoTab>,
pub worker_queue: VecDeque<IOWorkerThread>,
- pub trx: (mpsc::SyncSender<u64>, mpsc::Receiver<u64>),
pub worker_msg: Option<String>,
pub message_queue: VecDeque<String>,
@@ -30,7 +29,6 @@ impl JoshutoContext {
curr_tab_index: 0,
tabs: Vec::new(),
worker_queue: VecDeque::with_capacity(10),
- trx: mpsc::sync_channel::<u64>(1),
worker_msg: None,
message_queue: VecDeque::with_capacity(4),
message_elapse: 0,