diff --git a/software/glasgow/cli.py b/software/glasgow/cli.py index 188defe88..47519e563 100644 --- a/software/glasgow/cli.py +++ b/software/glasgow/cli.py @@ -600,7 +600,7 @@ async def run_applet(): logger.warn("applet provides customized REPL(s); consider using `run " "{} ...-repl` subcommands".format(applet.name)) logger.info("dropping to REPL; use 'help(iface)' to see available APIs") - await AsyncInteractiveConsole(locals={"iface":iface}, + await AsyncInteractiveConsole(locals={"iface":iface, "device":device}, run_callback=device.demultiplexer.flush).interact() if args.action == "run-script":