243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
|
pasteconsole();
return;
};
default:
resetcomplete();
if (cooked) {
char add[] = {cooked, 0};
strcat_s(commandbuf, add);
};
};
} else {
if (code == SDLK_RETURN) {
if (commandbuf[0]) {
if (vhistory.empty() ||
|
|
|
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
|
pasteconsole();
return;
};
default:
resetcomplete();
if (cooked) {
char add[] = {(char)cooked, 0};
strcat_s(commandbuf, add);
};
};
} else {
if (code == SDLK_RETURN) {
if (commandbuf[0]) {
if (vhistory.empty() ||
|