Skip to content

Cancelling area selection screenshot with escape creates empty image file #293

@careb0t

Description

@careb0t

Whenever I run maim with -s to select an area to screenshot, but then I cancel it for whatever reason by pressing escape, the rest of my command for this runs and saves an "empty" .png file to my screenshots directory and copies the same file to my clipboard. Is there any way to just kill maim when you cancel the screenshot so that a bad file isn't saved and copied to clipboard?

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