Another helper function to write to terminal and log.

This commit is contained in:
nicm
2017-02-08 23:53:03 +00:00
parent 2f854969ff
commit 1811dc5271
2 changed files with 52 additions and 73 deletions

5
tmux.h
View File

@ -483,6 +483,7 @@ struct msg_stderr_data {
#define MODE_FOCUSON 0x800
#define MODE_MOUSE_ALL 0x1000
#define ALL_MODES 0xffffff
#define ALL_MOUSE_MODES (MODE_MOUSE_STANDARD|MODE_MOUSE_BUTTON|MODE_MOUSE_ALL)
/*
@ -1085,9 +1086,9 @@ struct tty {
/* TTY command context. */
struct tty_ctx {
struct window_pane *wp;
struct window_pane *wp;
const struct grid_cell *cell;
const struct grid_cell *cell;
u_int num;
void *ptr;