Un outil pour réarranger les lignes de stdin - retour accueil
git clone git://bebou.netlib.re/reorder
Log | Files | Refs | README |
commit 7af7e6c9c0257aa9fab09a6d458099d69fc40d65 parent 5a490e4ed21bfc01d95d621ae1ce378eae8a480a Auteurice: Arthur Pons <arthur.pons@unistra.fr> Date: Fri, 17 Jan 2025 16:51:32 +0100 On inverse quit Ca fait beaucoup plus sens Diffstat:
M | reorder.c | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/reorder.c b/reorder.c @@ -107,10 +107,10 @@ int main(int argc, char **argv) { tb_init(); bool selection=false; - bool quit=true; + bool quit=false; char* curmenu="hand"; - while(quit) { + while(!quit) { display(h,p,hand.curline,played.curline,curmenu,selection); tb_poll_event(&ev); switch(ev.key) { @@ -156,7 +156,7 @@ int main(int argc, char **argv) { case 0: switch(ev.ch) { case 113: - quit=false; + quit=true; break; default: break;