degesch: accept Word shortcuts for formatting
Because why not.
This commit is contained in:
parent
230b04014f
commit
639da7a9a7
|
@ -13047,10 +13047,13 @@ process_mirc_escape (const struct pollfd *fd, struct app_context *ctx)
|
||||||
goto error;
|
goto error;
|
||||||
switch (buf->str[0])
|
switch (buf->str[0])
|
||||||
{
|
{
|
||||||
|
case 'b' ^ 96:
|
||||||
case 'b': CALL_ (ctx->input, insert, "\x02"); break;
|
case 'b': CALL_ (ctx->input, insert, "\x02"); break;
|
||||||
case 'c': CALL_ (ctx->input, insert, "\x03"); break;
|
case 'c': CALL_ (ctx->input, insert, "\x03"); break;
|
||||||
|
case 'i' ^ 96:
|
||||||
case 'i':
|
case 'i':
|
||||||
case ']': CALL_ (ctx->input, insert, "\x1d"); break;
|
case ']': CALL_ (ctx->input, insert, "\x1d"); break;
|
||||||
|
case 'u' ^ 96:
|
||||||
case 'u':
|
case 'u':
|
||||||
case '_': CALL_ (ctx->input, insert, "\x1f"); break;
|
case '_': CALL_ (ctx->input, insert, "\x1f"); break;
|
||||||
case 'v': CALL_ (ctx->input, insert, "\x16"); break;
|
case 'v': CALL_ (ctx->input, insert, "\x16"); break;
|
||||||
|
|
Loading…
Reference in New Issue