]> git.gir.st - VIper.git/commit
minor in-code cleanup, documentation
authorgirst <girst@users.noreply.github.com>
Sat, 19 May 2018 23:18:42 +0000 (01:18 +0200)
committergirst <girst@users.noreply.github.com>
Sat, 19 May 2018 23:26:59 +0000 (01:26 +0200)
commit4c6cc428edef864034dbc33f4e2e8bf16cb3eded
treecd07ba6f3115a11f4046a40a8f9de790d83333fc
parentc85ed3eefe4592fabe97c2a1bfe463f11c38d4c9
minor in-code cleanup, documentation

i wanted to remove the 'only draw diff'-todo and looked into where i was
calling show_playfield(). i didn't call it anywhere where i expected it,
so i fired up gdb. gdb told me show_playfield() gets called from the
input loop after the switch(getchar()). i was puzzled about that,
because it fired even when no keys were pressed. then i noticed that
everytime the signal handler fires, a STX (ASCII 0x02) gets pushed onto
stdin.  WHO FIGURES?!  i was unable to find anything in the
documentation of sigaction or on the internet that indicates this!
README.md
schemes.h
viiper.c
Imprint / Impressum