Skip to content

Warn when closing without saving #106

@aDotInTheVoid

Description

@aDotInTheVoid

Currently, you can run ^c and exit with unsaved work, and xi-term will exit without warning.

Ideally, the "normal" exit should not work with unsaved text. I think vim handles this nicely, where one usually exits with :q, but this does not work with unsaved work. Instead, vim warns you of this but also lets you use :q! instead.

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