Skip to content

[BUG] AppState::Done exits immediately on any event #8

Description

@aayank13

File: src/app.rs — fn handle_event()

AppState::Done { .. } => return Ok(true),  // exits on the VERY NEXT keypress

The "Done" screen shows the output path, but the moment any key is pressed it quits. Users who accidentally press a key (e.g., they were still typing) immediately lose the result.

Fix: Only exit on AppEvent::Quit or AppEvent::Next from the Done screen, mirroring the Welcome step pattern.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions