| 96 | wchar_t szSubst[16]; |
| 97 | |
| 98 | void SetKey(CEStr& lsSubst, wchar_t c, wchar_t prefix=L'O') |
| 99 | { |
| 100 | if (!Mods) |
| 101 | { |
| 102 | //wcscpy_c(szSubst, L"\033O*A"); |
| 103 | msprintf(szSubst, countof(szSubst), L"\033%c%c", prefix, c); |
| 104 | } |
| 105 | else |
| 106 | { |
| 107 | msprintf(szSubst, countof(szSubst), L"\033[1;%c%c", Mods+L'1', c); |
| 108 | } |
| 109 | lsSubst.Set(szSubst); |
| 110 | } |
| 111 | |
| 112 | void SetFKey(CEStr& lsSubst, UINT fn) |
| 113 | { |
no test coverage detected