Skip to content

When autosave is on, it’s impossible to quit a readonly file without saving #3878

@Profpatsch

Description

@Profpatsch

When I have autosave: 2 enabled, open a readonly file, change something, and try to quit, micro tries to save the file.
Since the file is readonly, it asks whether to use sudo to save the file. If you hit n, it cancels the prompt but does not quit.

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