Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -8850,7 +8850,7 @@ def process_command(self, command: str) -> bool:
"The current conversation history will be discarded.",
cmd_original=cmd_original,
) is None:
return
return True # confirmation cancelled — command handled, keep REPL alive
self.new_session(silent=True)
_clear_output_history()
# Clear terminal screen. Inside the TUI, Rich's console.clear()
Expand Down Expand Up @@ -8984,7 +8984,7 @@ def process_command(self, command: str) -> bool:
"The current conversation history will be discarded.",
cmd_original=cmd_original,
) is None:
return
return True # confirmation cancelled — command handled, keep REPL alive
self.new_session(title=title)
elif canonical == "resume":
self._handle_resume_command(cmd_original)
Expand Down Expand Up @@ -9027,7 +9027,7 @@ def process_command(self, command: str) -> bool:
_undo_desc,
cmd_original=cmd_original,
) is None:
return
return True # confirmation cancelled — command handled, keep REPL alive
self.undo_last(_undo_n)
elif canonical == "branch":
self._handle_branch_command(cmd_original)
Expand Down
Loading