mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
tty_write is relatively short and the only function left in tty-write.c so move
it into tty.c.
This commit is contained in:
4
tmux.h
4
tmux.h
@ -791,7 +791,6 @@ struct tty_ctx {
|
||||
u_int orupper;
|
||||
u_int orlower;
|
||||
};
|
||||
typedef void tty_cmd_func(struct tty *, struct tty_ctx *);
|
||||
|
||||
/* Client connection. */
|
||||
struct client {
|
||||
@ -1077,9 +1076,6 @@ void tty_keys_init(struct tty *);
|
||||
void tty_keys_free(struct tty *);
|
||||
int tty_keys_next(struct tty *, int *, u_char *);
|
||||
|
||||
/* tty-write.c */
|
||||
void tty_write(tty_cmd_func *, struct tty_ctx *);
|
||||
|
||||
/* options-cmd.c */
|
||||
void set_option_string(struct cmd_ctx *,
|
||||
struct options *, const struct set_option_entry *, char *);
|
||||
|
Reference in New Issue
Block a user