fixed ncurses output attributes

This commit is contained in:
2024-07-07 20:08:13 -04:00
parent 3d7484351f
commit d85f375fbe
5 changed files with 37 additions and 2 deletions

View File

@ -1,6 +1,7 @@
#ifndef __CONSTANTS_H__
#define __CONSTANTS_H__
#include <vector>
#include <ncurses.h>
#include "position.h"
// IMPORTANT: panic is reserved for invalid results
@ -89,6 +90,8 @@ const feature FEATURE_LIST_ARGS = 1 << 31;
const int RETURN_FINE = 0;
const int RETURN_PANICKED = 1;
const int COLOR_BLACK_ON_WHITE = 8;
typedef std::vector<position> position_list;
typedef std::vector<direction> direction_list;