Skip to content

[bug] No save prompt when closing a manually edited file #18

@4kaarlokay

Description

@4kaarlokay

Ctrl+S works perfectly, but closing a manually edited file without saving drops changes silently with no warning.

Expected behavior: a "Save changes?" dialog on close, like VS Code and most IDEs.

Current behavior: file closes immediately, unsaved edits are gone.

Concrete example: I edited a config file directly in Sinew, got distracted, closed the tab without hitting Ctrl+S, and only realized my changes were lost much later when the expected behavior wasn't there.

Simple fix but high impact, especially for users not yet in the habit of manually saving.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions