degesch: accept Word shortcuts for formatting

Because why not.
This commit is contained in:
Přemysl Eric Janouch 2016-10-23 13:40:04 +02:00
parent 230b04014f
commit 639da7a9a7
Signed by: p
GPG Key ID: B715679E3A361BE6
1 changed files with 3 additions and 0 deletions

View File

@ -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;