Rev 1524 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1524 | Rev 1590 | ||
|---|---|---|---|
| Line 38... | Line 38... | ||
| 38 | /* |
38 | /* |
| 39 | * putpad() is for padded strings with count=1. |
39 | * putpad() is for padded strings with count=1. |
| 40 | */ |
40 | */ |
| 41 | #define putpad(s) tputs(s, 1, put) |
41 | #define putpad(s) tputs(s, 1, put) |
| 42 | 42 | ||
| - | 43 | #include <async.h> |
|
| - | 44 | ||
| - | 45 | typedef struct { |
|
| - | 46 | ipcarg_t ws_row; |
|
| - | 47 | ipcarg_t ws_col; |
|
| - | 48 | } winsize_t; |
|
| - | 49 | ||
| - | 50 | extern winsize_t winsize; |
|
| - | 51 | ||
| - | 52 | void moveto(int r, int c); |
|
| - | 53 | void clear_screen(void); |
|
| - | 54 | ||
| 43 | int put(int); /* just calls putchar; for tputs */ |
55 | int put(int); /* just calls putchar; for tputs */ |
| 44 | void scr_clear(void); |
56 | void scr_clear(void); |
| 45 | void scr_end(void); |
57 | void scr_end(void); |
| 46 | void scr_init(void); |
58 | void scr_init(void); |
| 47 | void scr_msg(char *, int); |
59 | void scr_msg(char *, int); |