aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/mod.rs
diff options
context:
space:
mode:
authorKyle Sutherland-Cash <kyle.sutherlandcash@gmail.com>2021-05-01 09:22:21 -0700
committerKyle Sutherland-Cash <kyle.sutherlandcash@gmail.com>2021-05-01 09:22:21 -0700
commit2eadcb86a5377381c41e7fa52395a1dbd75f5a84 (patch)
treeacf6fd67ed72e4b1e104ad879aa7398504587460 /src/common/mod.rs
parentSimplify some names and start using Bus in the plugin thread (diff)
downloadsl0ppij-2eadcb86a5377381c41e7fa52395a1dbd75f5a84.tar.gz
sl0ppij-2eadcb86a5377381c41e7fa52395a1dbd75f5a84.tar.xz
sl0ppij-2eadcb86a5377381c41e7fa52395a1dbd75f5a84.zip
Bit of renaming
Diffstat (limited to 'src/common/mod.rs')
-rw-r--r--src/common/mod.rs16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/common/mod.rs b/src/common/mod.rs
index a05b1280..0990172d 100644
--- a/src/common/mod.rs
+++ b/src/common/mod.rs
@@ -550,18 +550,10 @@ pub fn start(mut os_input: Box<dyn OsApi>, opts: CliArgs) {
let plugin_env = PluginEnv {
plugin_id,
- send_pty_instructions: plugin_bus.to_pty.as_ref().unwrap().clone(),
- send_screen_instructions: plugin_bus
- .to_screen
- .as_ref()
- .unwrap()
- .clone(),
- send_app_instructions: plugin_bus.to_app.as_ref().unwrap().clone(),
- send_plugin_instructions: plugin_bus
- .to_plugin
- .as_ref()
- .unwrap()
- .clone(),
+ to_pty: plugin_bus.to_pty.as_ref().unwrap().clone(),
+ to_screen: plugin_bus.to_screen.as_ref().unwrap().clone(),
+ to_app: plugin_bus.to_app.as_ref().unwrap().clone(),
+ to_plugin: plugin_bus.to_plugin.as_ref().unwrap().clone(),
wasi_env,
subscriptions: Arc::new(Mutex::new(HashSet::new())),
};