aboutsummaryrefslogtreecommitdiff
path: root/examples/example-repl-basic
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example-repl-basic')
-rw-r--r--examples/example-repl-basic/src/main.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/example-repl-basic/src/main.rs b/examples/example-repl-basic/src/main.rs
index d44c92a..abea141 100644
--- a/examples/example-repl-basic/src/main.rs
+++ b/examples/example-repl-basic/src/main.rs
@@ -10,8 +10,9 @@
use mingling::{
hook::ProgramHook,
prelude::*,
+ res::ResREPL,
setup::{BasicREPLOutputSetup, BasicREPLPromptSetup, BasicREPLReadlineSetup},
- this, REPL,
+ this,
};
use std::{env::current_dir, path::PathBuf};
@@ -145,7 +146,7 @@ fn render_list(list: ResultList) {
#[chain]
fn handle_exit(
_prev: EntryExit,
- repl: &mut REPL, // Import REPL resource, registered in `exec_repl`, usable directly
+ repl: &mut ResREPL, // Import REPL resource, registered in `exec_repl`, usable directly
) {
// Set the REPL exit flag; REPL will exit after this loop iteration
repl.exit = true;