shithub: choc

Download patch

ref: e85edb9e6fcdc77d69d1b4d9f14f705a03e753e1
parent: 44efcf1a9088a1a050049fa34779c7279d201676
author: Simon Howard <fraggle@gmail.com>
date: Thu Mar 27 20:37:17 EDT 2014

textscreen: Add label for PrintScreen key.

Needed to properly fix bug #369.

--- a/textscreen/txt_sdl.c
+++ b/textscreen/txt_sdl.c
@@ -725,6 +725,7 @@
         case KEY_PGDN:        return "PGDN";
         case KEY_INS:         return "INS";
         case KEY_DEL:         return "DEL";
+        case KEY_PRTSCR:      return "PRTSC";
                  /*
         case KEYP_0:          return "PAD0";
         case KEYP_1:          return "PAD1";