diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-09 23:57:42 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-09 23:57:42 +0000 |
commit | 3ed5aa3e72bf0e720f1ea35159a1d15b1f02e0ff (patch) | |
tree | d6d9dc50461b010cd9da225afacf9d4081d29bc6 /tty-write.c | |
parent | e13445875451d66fcc8b0d8b4995321560d03b80 (diff) | |
download | rtmux-3ed5aa3e72bf0e720f1ea35159a1d15b1f02e0ff.tar.gz rtmux-3ed5aa3e72bf0e720f1ea35159a1d15b1f02e0ff.tar.bz2 rtmux-3ed5aa3e72bf0e720f1ea35159a1d15b1f02e0ff.zip |
Build array of codes, stop using ncurses global variables and push ncurses crap into tty-term.c.
Diffstat (limited to 'tty-write.c')
-rw-r--r-- | tty-write.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tty-write.c b/tty-write.c index a58f1b2e..a8d22c0b 100644 --- a/tty-write.c +++ b/tty-write.c @@ -1,4 +1,4 @@ -/* $Id: tty-write.c,v 1.2 2007-12-06 09:46:23 nicm Exp $ */ +/* $Id: tty-write.c,v 1.3 2009-01-09 23:57:42 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -21,7 +21,7 @@ #include "tmux.h" void -tty_write_client(void *ptr, int cmd, ...) +tty_write_client(void *ptr, enum tty_cmd cmd, ...) { struct client *c = ptr; va_list ap; @@ -32,7 +32,7 @@ tty_write_client(void *ptr, int cmd, ...) } void -tty_vwrite_client(void *ptr, int cmd, va_list ap) +tty_vwrite_client(void *ptr, enum tty_cmd cmd, va_list ap) { struct client *c = ptr; struct screen *s = c->session->curw->window->screen; @@ -41,7 +41,7 @@ tty_vwrite_client(void *ptr, int cmd, va_list ap) } void -tty_write_window(void *ptr, int cmd, ...) +tty_write_window(void *ptr, enum tty_cmd cmd, ...) { va_list ap; @@ -51,7 +51,7 @@ tty_write_window(void *ptr, int cmd, ...) } void -tty_vwrite_window(void *ptr, int cmd, va_list ap) +tty_vwrite_window(void *ptr, enum tty_cmd cmd, va_list ap) { struct window *w = ptr; struct client *c; @@ -75,7 +75,7 @@ tty_vwrite_window(void *ptr, int cmd, va_list ap) } void -tty_write_session(void *ptr, int cmd, ...) +tty_write_session(void *ptr, enum tty_cmd cmd, ...) { va_list ap; @@ -85,7 +85,7 @@ tty_write_session(void *ptr, int cmd, ...) } void -tty_vwrite_session(void *ptr, int cmd, va_list ap) +tty_vwrite_session(void *ptr, enum tty_cmd cmd, va_list ap) { struct session *s = ptr; struct client *c; |