| 17 |
#ifndef _SCREEN_H_ |
#ifndef _SCREEN_H_ |
| 18 |
#define _SCREEN_H_ |
#define _SCREEN_H_ |
| 19 |
|
|
| 20 |
extern int screen_rows; |
#define CTRL_SEQ_CLR_LINE "\033[K" |
|
extern int screen_cols; |
|
| 21 |
|
|
| 22 |
extern void moveto(int row, int col); |
extern void moveto(int row, int col); |
| 23 |
|
|
| 39 |
|
|
| 40 |
extern int display_file_ex(const char *filename, int begin_line, int wait); |
extern int display_file_ex(const char *filename, int begin_line, int wait); |
| 41 |
|
|
| 42 |
extern int show_top(char *status); |
extern int show_top(const char *str_left, const char *str_center, const char *str_right); |
| 43 |
|
|
| 44 |
extern int show_bottom(char *msg); |
extern int show_bottom(const char *msg); |
| 45 |
|
|
| 46 |
extern int show_active_board(); |
extern int show_active_board(); |
| 47 |
|
|