cel-tui
    Preparing search index...

    Type Alias KeyPressHandler

    KeyPressHandler: (key: string) => boolean | void

    Props shared by all container nodes (ContainerNode and TextInputNode).

    Controls layout, sizing, scrolling, focus, click handling, key events, and styling. Style props on containers are inherited by descendants — child nodes use the nearest ancestor's values unless they set their own. Container bgColor fills the container rect before painting children.

    Type Declaration

      • (key: string): boolean | void
      • Parameters

        • key: string

        Returns boolean | void