| 2203 | } |
| 2204 | |
| 2205 | int command_to_key(command_type cmd) |
| 2206 | { |
| 2207 | KeymapContext context = context_for_command(cmd); |
| 2208 | |
| 2209 | if (context == KMC_NONE) |
| 2210 | return '\0'; |
| 2211 | |
| 2212 | return lookup(_cmds_to_keys[context], cmd, '\0'); |
| 2213 | } |
| 2214 | |
| 2215 | vector<int> command_to_keys(command_type cmd) |
| 2216 | { |
no test coverage detected