Skip to content

CLI sometimes exits with a single Ctrl +C command (Ubuntu 25.04) #4265

@danielrosehill

Description

@danielrosehill

Title: Inconsistent Interrupt Behavior in Goose CLI

Description:
While using the Goose CLI on Ubuntu 25.04, I have encountered an inconsistency with the interrupt behavior. Typically, pressing Ctrl-C should stop the current output without exiting the CLI. However, occasionally, a single Ctrl-C behaves as if two Ctrl-Cs were pressed, causing the CLI to exit and resulting in loss of chat history.

Steps to Reproduce:

  1. Run Goose CLI on Ubuntu 25.04.
  2. Begin a process that generates ongoing output.
  3. Press Ctrl-C to interrupt the output.
  4. Observe whether the CLI stops the output or exits completely.

Expected Behavior:
Pressing Ctrl-C should stop the ongoing output without closing the CLI, preserving the chat history.

Actual Behavior:
Inconsistent behavior:

  • Sometimes, the CLI stops the output as expected.
  • Occasionally, the CLI exits unexpectedly, losing the chat history.

Environment:

  • Operating System: Ubuntu 25.04

Additional Information:
The issue seems to be intermittent and does not occur consistently. A clear pattern or specific trigger for the behavior has not yet been identified. Further investigation is required to determine underlying cause.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions