From 639da7a9a76e78e35c65c9991b739de8247e341c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Sun, 23 Oct 2016 13:40:04 +0200 Subject: [PATCH] degesch: accept Word shortcuts for formatting Because why not. --- degesch.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/degesch.c b/degesch.c index 6eb2b47..413c6f0 100644 --- a/degesch.c +++ b/degesch.c @@ -13047,10 +13047,13 @@ process_mirc_escape (const struct pollfd *fd, struct app_context *ctx) goto error; switch (buf->str[0]) { + case 'b' ^ 96: case 'b': CALL_ (ctx->input, insert, "\x02"); break; case 'c': CALL_ (ctx->input, insert, "\x03"); break; + case 'i' ^ 96: case 'i': case ']': CALL_ (ctx->input, insert, "\x1d"); break; + case 'u' ^ 96: case 'u': case '_': CALL_ (ctx->input, insert, "\x1f"); break; case 'v': CALL_ (ctx->input, insert, "\x16"); break;