mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-16 16:41:35 +02:00
Need to set clients in context before changing their reference count.
This commit is contained in:
@ -184,8 +184,7 @@ cmd_command_prompt_callback(void *data, const char *s)
|
||||
return (0);
|
||||
}
|
||||
|
||||
ctx = cmd_get_ctx();
|
||||
ctx->curclient = c;
|
||||
ctx = cmd_get_ctx(NULL, c);
|
||||
ctx->error = key_bindings_error;
|
||||
ctx->print = key_bindings_print;
|
||||
ctx->info = key_bindings_info;
|
||||
|
Reference in New Issue
Block a user