diff --git a/src/repl/mod.rs b/src/repl/mod.rs index 3e84f10..c33d067 100644 --- a/src/repl/mod.rs +++ b/src/repl/mod.rs @@ -281,7 +281,7 @@ static REPL_COMMANDS: LazyLock<[ReplCommand; 59]> = LazyLock::new(|| { ReplCommand::new( ".recover", "Recover interrupted session after API error or Ctrl+C", - AssertState::pass(), + AssertState::True(StateFlags::SESSION_EMPTY | StateFlags::SESSION), ), ReplCommand::new( ".regenerate",