This commit is contained in:
2025-12-30 15:22:09 +00:00
parent dc507dfc23
commit 0390a1bc5d
14 changed files with 45 additions and 34 deletions

View File

@@ -1,4 +1,4 @@
#include "io/ui.h"
#include "io/sysio.h"
uint32_t rows, cols;
bool show_cursor = 0;
@@ -112,10 +112,6 @@ void update(uint32_t row, uint32_t col, const char *utf8, uint32_t fg,
screen[idx].ul_color = ul_color;
}
inline bool is_empty_cell(const ScreenCell &c) {
return c.utf8.empty() || c.utf8 == " " || c.utf8 == "\x1b";
}
void render() {
static bool first_render = true;
uint32_t current_fg = 0;