| 325 | COMMAND(onrelease, "s"); |
| 326 | |
| 327 | void saycommand(char *init) // turns input to the command line on or off |
| 328 | { |
| 329 | saycommandon = (init != NULL); |
| 330 | textinput(saycommandon, TI_CONSOLE); |
| 331 | keyrepeat(saycommandon, KR_CONSOLE); |
| 332 | setscope(false); |
| 333 | copystring(cmdline.buf, init ? escapestring(init, false, true) : ""); |
| 334 | DELETEA(cmdaction); |
| 335 | DELETEA(cmdprompt); |
| 336 | cmdline.pos = -1; |
| 337 | } |
| 338 | COMMAND(saycommand, "c"); |
| 339 | |
| 340 | void inputcommand(char *init, char *action, char *prompt, int *nopersist) |
no test coverage detected