|
|
|
@ -39,7 +39,7 @@ typedef struct ncinput {
|
|
|
|
|
|
|
|
|
|
**int notcurses_inputready_fd(struct notcurses* n);**
|
|
|
|
|
|
|
|
|
|
**static inline int ncinput_equal_p(const struct ncinput* n1, const struct ncinput* n2);**
|
|
|
|
|
**static inline bool ncinput_equal_p(const struct ncinput* n1, const struct ncinput* n2);**
|
|
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
|
|
|
@ -70,7 +70,7 @@ be the actual input file descriptor. If it readable, **notcurses_getc** can
|
|
|
|
|
be called without the possibility of blocking.
|
|
|
|
|
|
|
|
|
|
**ncinput_equal_p** compares two **ncinput** structs for data equality (i.e.
|
|
|
|
|
not considering padding or the **seqnum** field), returning 1 if they
|
|
|
|
|
not considering padding or the **seqnum** field), returning **true** if they
|
|
|
|
|
represent the same input (though not necessarily the same input event).
|
|
|
|
|
|
|
|
|
|
## Mice
|
|
|
|
@ -120,8 +120,9 @@ a synthesized event, is returned.
|
|
|
|
|
**notcurses_mouse_enable** returns 0 on success, and non-zero on failure, as
|
|
|
|
|
does **notcurses_mouse_disable**.
|
|
|
|
|
|
|
|
|
|
**ncinput_equal_p** returns 1 if the two **ncinput** structs represent the
|
|
|
|
|
same input (though not necessarily the same input event), and 0 otherwise.
|
|
|
|
|
**ncinput_equal_p** returns **true** if the two **ncinput** structs represent
|
|
|
|
|
the same input (though not necessarily the same input event), and
|
|
|
|
|
**false** otherwise.
|
|
|
|
|
|
|
|
|
|
# NOTES
|
|
|
|
|
|
|
|
|
|