Skip to content

CTRL + C / EOF loses command history #7

@hars-21

Description

@hars-21

When the user presses Ctrl+C (Interrupted) or Ctrl+D (Eof) in the REPL, the shell_loop breaks immediately via lines 90-96 before reaching append_history on line 105. This means the current session's command history is silently discarded. The fix should save history before breaking on interrupt/eof.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions