summaryrefslogtreecommitdiffstats
path: root/src/render/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/mod.rs')
-rw-r--r--src/render/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/mod.rs b/src/render/mod.rs
index 27f9e81..a0f996f 100644
--- a/src/render/mod.rs
+++ b/src/render/mod.rs
@@ -7,8 +7,8 @@ pub use self::markdown::{MarkdownRender, RenderOptions};
use self::repl::repl_render_stream;
use crate::client::Client;
-use crate::config::SharedConfig;
-use crate::repl::AbortSignal;
+use crate::config::GlobalConfig;
+use crate::utils::AbortSignal;
use anyhow::{Context, Result};
use crossbeam::channel::{unbounded, Sender};
@@ -19,7 +19,7 @@ use std::thread::spawn;
pub fn render_stream(
input: &str,
client: &dyn Client,
- config: &SharedConfig,
+ config: &GlobalConfig,
repl: bool,
abort: AbortSignal,
wg: WaitGroup,