The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
fb_console.h
Go to the documentation of this file.
1#pragma once
2
3/**
4 * @file fb_console.h
5 * @brief framebuffer tty backend.
6 *
7 * builds a tty_backend_t backed by the framebuffer text grid, so the console's
8 * terminal state machine can render through JetBrains Mono on the linear
9 * framebuffer. only used when a framebuffer is present; otherwise the console
10 * falls back to the VGA text backend.
11 */
12
13#include "kernel/tty/tty.h"
14
15/**
16 * initialize the framebuffer text grid and return a tty backend that renders
17 * onto it. the framebuffer must already be initialized (fb_init).
18 * @return a backend describing the framebuffer text grid.
19 */
const tty_backend_t * fb_console_backend(void)
initialize the framebuffer text grid and return a tty backend that renders onto it.
Definition fb_console.c:64
character-cell backend a tty draws onto.
Definition tty.h:40
terminal (TTY) layer.