DOKK / manpages / debian 12 / libcaca-dev / caca_get_event_key_ch.3caca.en
caca_event(3caca) libcaca caca_event(3caca)

caca_event - Handling of user events.


enum caca_event_type type
union {
struct {
int x
int y
int button
} mouse
struct {
int w
int h
} resize
struct {
int ch
uint32_t utf32
char utf8 [8]
} key
} data

This structure is filled by caca_get_event() when an event is received. It is an opaque structure that should only be accessed through caca_event_get_type() and similar functions. The struct members may no longer be directly accessible in future versions.

Generated automatically by Doxygen for libcaca from the source code.

Tue Jul 12 2022 Version 0.99.beta20