Skip to content

source throws an exception if keyboard cursor pos is invalid #5582

Open
DFHack/scripts
#1629

Description

@ab9rf

source uses the keyboard cursor for its location determination but doesn't handle errors well

per discord

Activity

  1. Alistair-Afton commented on Sep 16, 2026

    @Alistair-Afton
    Contributor

    @ab9rf Fixed in DFHack/scripts#1629. The cursor is now validated before the source lookup, and both add and delete have regression coverage.

  2. ab9rf commented on Sep 16, 2026

    @ab9rf
    MemberAuthor

    for the record, it's not necessary to ping me on issues i opened. as one of the organization's managers, i'm notified for all activity anywhere in the organization :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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