diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-23 13:40:04 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-23 13:40:04 +0200 |
commit | 639da7a9a76e78e35c65c9991b739de8247e341c (patch) | |
tree | d5ba7159865123e7088bcf3e3b449a343ad7b651 /degesch.c | |
parent | 230b04014f3e7e8d310a2427cc07ece3b9618c2a (diff) | |
download | xK-639da7a9a76e78e35c65c9991b739de8247e341c.tar.gz xK-639da7a9a76e78e35c65c9991b739de8247e341c.tar.xz xK-639da7a9a76e78e35c65c9991b739de8247e341c.zip |
degesch: accept Word shortcuts for formatting
Because why not.
Diffstat (limited to 'degesch.c')
-rw-r--r-- | degesch.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |