state

clubsandwich.blt.state.state

Object with attributes that map to all BearLibTerminal event and state constants.

For example, blt_state.shift returns True iff the Shift key is down. This is forwarded to bearlibterminal.terminal.state(terminal.TK_SHIFT).

Numbers are prefixed with num_. So blt_state.num_1 is true iff the “1” key is being pressed.