Integrate flaterm terminal

This commit is contained in:
2025-08-13 23:28:25 +02:00
parent ce6b17d72b
commit 95832bb3a7
23 changed files with 3230 additions and 21 deletions

17
kernel/term/term.h Normal file
View File

@ -0,0 +1,17 @@
#ifndef TERM_TERM_H_
#define TERM_TERM_H_
#include "flanterm.h"
#include "flanterm_backends/fb.h"
#include "spinlock/spinlock.h"
typedef struct {
SpinLock spinlock;
struct flanterm_context *ftctx;
} Term;
extern Term TERM;
void term_init(void);
#endif // TERM_TERM_H_