diff options
author | Tom Smeding <tom.smeding@gmail.com> | 2018-02-10 20:53:00 +0100 |
---|---|---|
committer | Tom Smeding <tom.smeding@gmail.com> | 2018-02-10 20:53:00 +0100 |
commit | 24d641b2b8105793e85ae1835a29eef7528f0248 (patch) | |
tree | afb4822d9169d1ceb6320684edd091e250aaf6ea | |
parent | 1146f7be49eb2a5abe4db7ba06f568cc81192111 (diff) |
Remove 'q' quit key
-rw-r--r-- | main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -253,8 +253,7 @@ int main(void){ if(FD_ISSET(0,&inset)){ int key=tgetkey(); - if(key=='Q'||key=='q')break; - else if(key=='S'||key=='s'||key==KEY_DOWN){ + if(key=='S'||key=='s'||key==KEY_DOWN){ if(!advance(&bd))break; delaytimeout(&bd,&timeleft); } else if(key=='A'||key=='a'||key==KEY_LEFT)move(&bd,-1); |