diff options
author | Thomas Adam <thomas@xteddy.org> | 2016-04-29 16:01:12 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2016-04-29 16:01:12 +0100 |
commit | ba9f32b464effc09b7ceaef21b1804c49ece17db (patch) | |
tree | b49dce19c8650ec83f435d66c4c35ccf3ee545bf /tmux.h | |
parent | e7de2fe552a7b4392f208533b72e7fcbe41c0537 (diff) | |
parent | 0d84fdd95303a6ed4dcd761425e35f3731b86725 (diff) | |
download | rtmux-ba9f32b464effc09b7ceaef21b1804c49ece17db.tar.gz rtmux-ba9f32b464effc09b7ceaef21b1804c49ece17db.tar.bz2 rtmux-ba9f32b464effc09b7ceaef21b1804c49ece17db.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 22 |
1 files changed, 7 insertions, 15 deletions
@@ -62,15 +62,8 @@ struct tmuxproc; /* Automatic name refresh interval, in microseconds. Must be < 1 second. */ #define NAME_INTERVAL 500000 -/* - * READ_SIZE is the maximum size of data to hold from a pty (the event high - * watermark). READ_BACKOFF is the amount of data waiting to be output to a tty - * before pty reads will be backed off. READ_TIME is how long to back off - * before the next read (in microseconds) if a tty is above READ_BACKOFF. - */ -#define READ_SIZE 1024 -#define READ_BACKOFF 512 -#define READ_TIME 100 +/* The maximum amount of data to hold from a pty (the event high watermark). */ +#define READ_SIZE 128 /* Attribute to make gcc check printf-like arguments. */ #define printflike(a, b) __attribute__ ((format (printf, a, b))) @@ -891,7 +884,6 @@ struct window_pane { int fd; struct bufferevent *event; - struct event timer; struct input_ctx *ictx; @@ -2036,15 +2028,15 @@ void screen_write_stop(struct screen_write_ctx *); void screen_write_reset(struct screen_write_ctx *); size_t printflike(1, 2) screen_write_cstrlen(const char *, ...); void printflike(4, 5) screen_write_cnputs(struct screen_write_ctx *, - ssize_t, struct grid_cell *, const char *, ...); + ssize_t, const struct grid_cell *, const char *, ...); size_t printflike(1, 2) screen_write_strlen(const char *, ...); void printflike(3, 4) screen_write_puts(struct screen_write_ctx *, - struct grid_cell *, const char *, ...); + const struct grid_cell *, const char *, ...); void printflike(4, 5) screen_write_nputs(struct screen_write_ctx *, - ssize_t, struct grid_cell *, const char *, ...); + ssize_t, const struct grid_cell *, const char *, ...); void screen_write_vnputs(struct screen_write_ctx *, ssize_t, - struct grid_cell *, const char *, va_list); -void screen_write_putc(struct screen_write_ctx *, struct grid_cell *, + const struct grid_cell *, const char *, va_list); +void screen_write_putc(struct screen_write_ctx *, const struct grid_cell *, u_char); void screen_write_copy(struct screen_write_ctx *, struct screen *, u_int, u_int, u_int, u_int); |