Added ctrl-g to cancel text
This commit is contained in:
parent
7bde100972
commit
c8f80da5c2
|
@ -1738,7 +1738,8 @@ int main (int argc, char **argv) {
|
|||
if (textpos != &text[strlen(text)]) textpos++;
|
||||
updatetextcursor();
|
||||
//oooooooooo
|
||||
} else if (c2 == SDLK_ESCAPE) {
|
||||
} else if ((c2 == SDLK_ESCAPE) ||
|
||||
((c2 == 'g') && (mod & KMOD_CTRL)) ) {
|
||||
sprintf(statustext, "Aborted.");
|
||||
changestate(S_NONE);
|
||||
drawmap(TRUE);
|
||||
|
|
Loading…
Reference in New Issue