mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
Move command handling into the server and tidy up some bits.
This commit is contained in:
12
input.c
12
input.c
@ -1,4 +1,4 @@
|
||||
/* $Id: input.c,v 1.18 2007-10-03 09:16:59 nicm Exp $ */
|
||||
/* $Id: input.c,v 1.19 2007-10-03 10:18:32 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -171,16 +171,6 @@ input_free(struct input_ctx *ictx)
|
||||
ARRAY_FREE(&ictx->args);
|
||||
}
|
||||
|
||||
void
|
||||
input_parse1(struct screen *s, u_char *buf, size_t len, struct buffer *b)
|
||||
{
|
||||
struct input_ctx ictx;
|
||||
|
||||
input_init(&ictx, s);
|
||||
input_parse(&ictx, buf, len, b);
|
||||
input_free(&ictx);
|
||||
}
|
||||
|
||||
void
|
||||
input_parse(struct input_ctx *ictx, u_char *buf, size_t len, struct buffer *b)
|
||||
{
|
||||
|
Reference in New Issue
Block a user