Files
crib/include/ui/bar.h
2026-02-01 20:47:41 +00:00

21 lines
365 B
C++

#ifndef UI_BAR_H
#define UI_BAR_H
#include "editor/editor.h"
#include "io/sysio.h"
#include "utils/utils.h"
struct Bar {
Coord screen;
std::string command = "";
std::string log_line = "";
uint32_t cursor = 0;
void init(Coord screen) { this->screen = screen; }
void render();
void handle(KeyEvent event);
void log(std::string message);
};
#endif