shithub: orca

ref: 9b15b51c3f5dc2e67e1e123892b88d8b8f0c6d80
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;