Fast and reasonably complete (framebuffer) terminal emulator (Zig fork)

Expose double_buffer_flush()

mintsuki 409a298e 8ed4de7e

Changed files
+5 -1
+4
flanterm.c
···
+
void flanterm_flush(struct flanterm_context *ctx) {
+
ctx->double_buffer_flush(ctx);
+
}
+
void flanterm_full_refresh(struct flanterm_context *ctx) {
ctx->full_refresh(ctx);
+1 -1
flanterm.h
···
#endif
void flanterm_write(struct flanterm_context *ctx, const char *buf, size_t count);
-
+
void flanterm_flush(struct flanterm_context *ctx);
void flanterm_full_refresh(struct flanterm_context *ctx);
void flanterm_deinit(struct flanterm_context *ctx, void (*_free)(void *, size_t));