Skip to content

Input.check_consume_key doesnt consume backspace/delete #5194

@kdkavanagh

Description

@kdkavanagh

I think the intent of this method is to determine if the provided key event is "relevant" to the input box, in which case it should consume backspace/delete in addition to printable characters.

(My usecase: I'd like to forward input received elsewhere in the app to the input box despite the input box not having focus. I'm currently checking check_consume_key and if yes, forwarding the event to the input widget, Input.on_event)

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