diff options
Diffstat (limited to 'src/prototypes.h')
-rw-r--r-- | src/prototypes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/prototypes.h b/src/prototypes.h index a115592..dd7dfeb 100644 --- a/src/prototypes.h +++ b/src/prototypes.h @@ -51,7 +51,7 @@ extern void vt102_reset_state(VT102 *v); extern void vt102_parse_char(Context *c, int ch); extern void vt102_send(Context *c, uint8_t key); extern void vt102_reset(VT102 *v); -extern VT102 *vt102_new(void); +extern VT102 *vt102_new(int width); extern void vt102_set_ansi(VT102 *v, int ansi); extern void vt102_free(VT102 *v); /* tty.c */ @@ -81,7 +81,7 @@ extern int ring_space(Ring *r); extern int ring_bytes(Ring *r); extern Ring *ring_new(int n); /* ptty.c */ -extern TTY *ptty_open(char *path, char *argv[]); +extern TTY *ptty_open(char *path, char *argv[], int width); /* terminal.c */ extern int terminal_winches; extern void terminal_atexit(void); |