version 1.77, 2013/03/22 15:49:55 |
version 1.78, 2013/03/22 15:54:29 |
|
|
struct window_pane *cmd_find_pane_offset(const char *, struct winlink *); |
struct window_pane *cmd_find_pane_offset(const char *, struct winlink *); |
|
|
struct cmd_ctx * |
struct cmd_ctx * |
cmd_get_ctx(void) |
cmd_get_ctx(struct client *cmdclient, struct client *curclient) |
{ |
{ |
struct cmd_ctx *ctx; |
struct cmd_ctx *ctx; |
|
|
ctx = xcalloc(1, sizeof *ctx); |
ctx = xcalloc(1, sizeof *ctx); |
ctx->references = 0; |
ctx->references = 0; |
|
|
|
ctx->cmdclient = cmdclient; |
|
ctx->curclient = curclient; |
|
|
cmd_ref_ctx(ctx); |
cmd_ref_ctx(ctx); |
return (ctx); |
return (ctx); |