The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
fb_console.h File Reference

framebuffer tty backend. More...

#include "kernel/tty/tty.h"

Go to the source code of this file.

Functions

const tty_backend_t * fb_console_backend (void)
 initialize the framebuffer text grid and return a tty backend that renders onto it.

Detailed Description

framebuffer tty backend.

builds a tty_backend_t backed by the framebuffer text grid, so the console's terminal state machine can render through JetBrains Mono on the linear framebuffer. only used when a framebuffer is present; otherwise the console falls back to the VGA text backend.

Function Documentation

◆ fb_console_backend()

const tty_backend_t * fb_console_backend ( void )

initialize the framebuffer text grid and return a tty backend that renders onto it.

the framebuffer must already be initialized (fb_init).

Returns
a backend describing the framebuffer text grid.