diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-18 12:09:42 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-18 12:09:42 +0000 |
commit | 8ea49712fd4c9f158128832e6c93308afeb1bd4d (patch) | |
tree | a7a4e84c2722ba9f3848f4bbe377c1e38ed14d1c /client.c | |
parent | 273d63040ab6f0124518fcdb1ad9f2f10c84c2de (diff) |
suspend-client command and suspend client when ^Z key binding is used.
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: client.c,v 1.39 2009-01-15 00:21:58 nicm Exp $ */ +/* $Id: client.c,v 1.40 2009-01-18 12:09:42 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -146,6 +146,11 @@ client_main(struct client_ctx *cctx) while (!sigterm) { if (sigwinch) client_handle_winch(cctx); + if (sigcont) { + siginit(); + client_write_server(cctx, MSG_WAKEUP, NULL, 0); + sigcont = 0; + } switch (client_msg_dispatch(cctx, &error)) { case -1: |