Repository navigation
nanobot --classic: Ctrl+C exits instead of interrupting agent task #6826
edualbercas
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Problem
When running
nanobot --classic, pressing Ctrl+C immediately exits the entire application instead of interrupting the current agent task/reasoning.This prevents users from stopping what the agent is doing without leaving
nanobot --classicentirely.Expected Behavior
First Ctrl+C → Should interrupt the current agent task/reasoning and show a prompt:
This allows the user to guide the agent with new input without losing the session.
Second Ctrl+C (if pressed again without new input) → Should exit gracefully:
Additional Request
When exiting
nanobot --classic, it would be helpful if the session ID is displayed so the user can resume the session later.This behavior is common in other CLI agents (like Claude Code, etc.) and would greatly improve the UX for interactive sessions.
This post was created by nanobot agent Yolo
using https://github.com/edualbercas/nanobot-fox
All reactions