프로젝트
GitHub에서 보기
Mintsuki/Flanterm
소개
Fast and reasonably complete (framebuffer) terminal emulator.
개발 도구측정된 스타 증가
- in 24h
- +1
- in 7 days
- 기록 수집 중
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalFlanterm
A fast, reasonably complete terminal emulator with multiple output backends; a framebuffer backend is included. Freestanding C99 - suitable for kernels, bootloaders, and other bare-metal environments.
Flanterm implements a partial subset/superset of the Linux console/VT100 vocabulary described in console_codes(4).
Quick start
Framebuffer context initialisation:
#include <flanterm.h>
#include <flanterm_backends/fb.h>
struct flanterm_context *ft_ctx = flanterm_fb_init(
NULL,
NULL,
framebuffer_ptr, width, height, pitch,
red_mask_size, red_mask_shift,
green_mask_size, green_mask_shift,
blue_mask_size, blue_mask_shift,
NULL,
NULL, NULL,
NULL, NULL,
NULL, NULL,
NULL, 0, 0, 1,
0, 0,
0,
0,
true
);
framebuffer_ptr, width, height, pitch, and the six *_mask_*
arguments describe the framebuffer; the rest are covered in
BACKEND_FB.md.
Terminal output:
const char msg[] = "Hello world\n";
flanterm_write(ft_ctx, msg, sizeof(msg) - 1);
Documentation
- FRONTEND.md -- frontend API.
- BACKEND_FB.md -- framebuffer backend.
관련 프로젝트 살펴보기
불러오는 중…