summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-08-13 17:26:47 -0400
committermidipix <writeonce@midipix.org>2016-08-14 07:49:25 -0400
commitfd0f9bfc4a2287f34924370240e313042c0b17d8 (patch)
tree8c2fa41a0c795649a296139cee10afb89619acd6 /src/driver
parent5e84dc1302cde351c49f75bb62eb211144601362 (diff)
downloadptycon-fd0f9bfc4a2287f34924370240e313042c0b17d8.tar.bz2
ptycon-fd0f9bfc4a2287f34924370240e313042c0b17d8.tar.xz
driver: added --bell support.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/ptyc_driver_ctx.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/driver/ptyc_driver_ctx.c b/src/driver/ptyc_driver_ctx.c
index b7cdc88..5f99a8a 100644
--- a/src/driver/ptyc_driver_ctx.c
+++ b/src/driver/ptyc_driver_ctx.c
@@ -293,6 +293,11 @@ int ptyc_get_driver_ctx(
break;
+ case TAG_BELL:
+ if ((!entry->arg) || !strcmp("on",entry->arg))
+ cctx.drvflags |= PTYC_DRIVER_BELL;
+ break;
+
case TAG_CAT:
nunits++;
break;