summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-07-08 23:10:44 -0400
committermidipix <writeonce@midipix.org>2016-07-21 03:47:26 -0400
commite9e742b0e892ca72576c745ac389eabb56c978a1 (patch)
tree82e016aa916a48ec1cee970d41dded1c86ac6159 /src/driver
parent2de078329160a245dc95ab1cec99653e297e257b (diff)
downloadptycon-e9e742b0e892ca72576c745ac389eabb56c978a1.tar.bz2
ptycon-e9e742b0e892ca72576c745ac389eabb56c978a1.tar.xz
driver: added --wait support for slightly more convenient debug sessions.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/ptyc_driver_ctx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/driver/ptyc_driver_ctx.c b/src/driver/ptyc_driver_ctx.c
index c6070e4..cf9b170 100644
--- a/src/driver/ptyc_driver_ctx.c
+++ b/src/driver/ptyc_driver_ctx.c
@@ -221,6 +221,10 @@ int ptyc_get_driver_ctx(
case TAG_CAT:
nunits++;
break;
+
+ case TAG_WAIT:
+ cctx.drvflags |= PTYC_DRIVER_DBG_WAIT;
+ break;
}
}
}