Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| // x86 SIMD string to uppercase | |
| // See http://stackoverflow.com/questions/735204/convert-a-string-in-c-to-upper-case | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <string.h> | |
| #include <strings.h> // for ffs | |
| #include <ctype.h> | |
| #include <immintrin.h> |
Instructions are modified from emacs-w64 Wiki page by zklhp. Many thanks for sharing!
Download the latest MSYS2 from this download page.
Install MSYS2 to, for example, C:\msys2 (make sure no space in path to avoid unwanted problems).
Optionally prettify the MSYS2 console mintty with ~/.minttyrc to make it more pleasing to eyes. Thanks to this awesome theme!