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

src/backends -> src/flanterm_backends

Mintsuki 4cacad16 8635eda0

Changed files
+3 -3
src
flanterm_backends
+3 -3
README.md
···
To quickly set up and use a framebuffer Flanterm instance, it is possible to
use the `flanterm_fb_init()` function as such:
```c
-
#include <flanterm/flanterm.h>
-
#include <flanterm/backends/fb.h>
+
#include <flanterm.h>
+
#include <flanterm_backends/fb.h>
struct flanterm_context *ft_ctx = flanterm_fb_init(
NULL,
···
Where `framebuffer_ptr, width, height, pitch` and `{red,green,blue}_mask_{size,shift}`
represent the corresponding info about the framebuffer to use for this given instance.
-
The meaning of the other arguments can be found in `backends/fb.h`.
+
The meaning of the other arguments can be found in `flanterm_backends/fb.h`.
To then print to the terminal instance, simply use the `flanterm_write()`
function on the given instance. For example:
src/backends/fb.c src/flanterm_backends/fb.c
src/backends/fb.h src/flanterm_backends/fb.h
src/backends/fb_private.h src/flanterm_backends/fb_private.h