mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 06:56:58 +00:00
suspend-client command and suspend client when ^Z key binding is used.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* $Id: tty-write.c,v 1.6 2009-01-14 19:29:32 nicm Exp $ */
|
||||
/* $Id: tty-write.c,v 1.7 2009-01-18 12:09:42 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -45,6 +45,8 @@ tty_vwrite_window(void *ptr, enum tty_cmd cmd, va_list ap)
|
||||
c = ARRAY_ITEM(&clients, i);
|
||||
if (c == NULL || c->session == NULL)
|
||||
continue;
|
||||
if (c->flags & CLIENT_SUSPENDED)
|
||||
continue;
|
||||
|
||||
if (c->session->curw->window == wp->window) {
|
||||
va_copy(aq, ap);
|
||||
|
Reference in New Issue
Block a user