Skip to content

index out of range after failed undo with multiple cursors #798

Description

@dermetfan

Description of the problem or steps to reproduce

asciicast

As you can see, undo cleared the buffer. Micro crashed on the next character I typed.

To reproduce you need to follow the example exactly. If I jump more with the cursor, the behavior changes:

asciicast

Specifications

Commit hash: v1.3.1
OS: NixOS
Terminal: lilyterm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions