mirror of
https://github.com/abakh/nbsdgames.git
synced 2024-11-02 16:27:18 -04:00
esc exits
This commit is contained in:
parent
11d87562f9
commit
b7530749f7
@ -130,8 +130,7 @@ Windows
|
|||||||
* Tell me your feature requests, bug reports, etc.
|
* Tell me your feature requests, bug reports, etc.
|
||||||
* Tell me the games you want to be added (but in the same genre, I can't port Angry Birds to curses! :)
|
* Tell me the games you want to be added (but in the same genre, I can't port Angry Birds to curses! :)
|
||||||
* Make a package for your distro (or put it on repos if the package is not there)
|
* Make a package for your distro (or put it on repos if the package is not there)
|
||||||
* Getting it to Redhat and OpenBSD repos would be nice.
|
|
||||||
* Tell distro developers to consider adding these as default games, nbsdgames packs a lot of fun games in a few hundreds of kilobytes.
|
* Tell distro developers to consider adding these as default games, nbsdgames packs a lot of fun games in a few hundreds of kilobytes.
|
||||||
|
* Compile these with ASAN, play and find C-ish bugs.
|
||||||
|
|
||||||
Also thanks to all the people who helped in the previous versions, all what I requested was done! I didn't expect such an amount of assistance on this project :heart:
|
Also thanks to all the people who helped in the previous versions, all what I requested was done! I didn't expect such an amount of assistance on this project :heart:
|
||||||
|
5
darrt.c
5
darrt.c
@ -395,9 +395,12 @@ int main(int argc,char** argv){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(input=='Q'){
|
if(input=='Q'){
|
||||||
strcpy(msg,"Ctrl-C to quit.");
|
strcpy(msg,"ESC or Ctrl-C to quit.");
|
||||||
msg_show=50;
|
msg_show=50;
|
||||||
}
|
}
|
||||||
|
if(input==27){
|
||||||
|
break;
|
||||||
|
}
|
||||||
if(input!=ERR){
|
if(input!=ERR){
|
||||||
usleep(100000);
|
usleep(100000);
|
||||||
flushinp();
|
flushinp();
|
||||||
|
Loading…
Reference in New Issue
Block a user