Skip to content

The KeyInput and Click classes have the same parent class #4322

@haykam821

Description

@haykam821

One would expect the class names related to the new screen input handling to be named consistently. The AbstractInput class is implemented by the MouseInput, KeyInput, and Click classes. All three are records, though the Click class contains a MouseInput record component. The CharInput class is entirely unrelated.

Some of these inconsistencies come from a somewhat poor conceptualization of user interface events, and other inconsistencies come from rigidly applying names from libraries that insist on following outdated low-level hardware ideas. Ideally, better names can be chosen.

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