1 2 3 4 5 6 7 8 9 10 11
/* See LICENSE file for copyright and license details. */ #include "common.h" int libterminput_clear_flags(struct libterminput_state *ctx, enum libterminput_flags flags) { ctx->flags |= flags; ctx->flags ^= flags; return 0; }