SFTtech/openage — pull request #139 by franciscod (2014-11-07 05:21:06+00:00)
Title: take screens on F2 release, not on press or hold

Both F1 and F3 are handled on KEYUP.

Screenshot should be handled on KEYUP too: not only it makes the code tidier, this also prevents taking repeated screenshots if SDL decides the key has hit the "hold" delay and reraises the KEYDOWN event.