shithub: orca

ref: c41c9befad2e503e0abcb3f2d8521f2147647e7d
dir: /base.h/

View raw version
#pragma once
#include <assert.h>
#include <limits.h>
#include <ncurses.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>

typedef char Term;
typedef uint32_t U32;
typedef int32_t I32;

typedef struct {
  Term* buffer;
  U32 height;
  U32 width;
} Field;