2011-06-06 04:33:49 +00:00
|
|
|
#ifndef TTY_SOLITAIRE_COMMON_H
|
|
|
|
#define TTY_SOLITAIRE_COMMON_H
|
2011-05-08 23:20:22 +00:00
|
|
|
|
2011-06-19 22:36:29 +00:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
#define MIN_TERM_LINES 28
|
|
|
|
#define MIN_TERM_COLS 57
|
|
|
|
#define TTY_SOLITAIRE_BUFSIZ 100
|
|
|
|
|
|
|
|
#define SMALL_TERM_MSG "Please increase your terminal size to at least 57x28 or press q to quit."
|
|
|
|
|
2011-05-08 23:20:22 +00:00
|
|
|
extern const char *program_name;
|
2011-06-19 22:36:29 +00:00
|
|
|
|
|
|
|
void tty_solitaire_generic_error(int, char *, int);
|
|
|
|
bool term_size_ok();
|
2011-05-08 23:20:22 +00:00
|
|
|
|
|
|
|
#endif
|