diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-11-13 17:04:42 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-11-13 17:05:16 +0100 |
commit | af95ed2a3402ecf65ff744b45c3053bc811d4ada (patch) | |
tree | 1af9d08bb64ceffb312d8c44cfddbd2289a5d086 | |
parent | ed2d66f6e780e2146fcc9c6aaa119442d609a6fa (diff) | |
download | mupdf-af95ed2a3402ecf65ff744b45c3053bc811d4ada.tar.xz |
gl: Make KEY_DELETE match actual ASCII DEL code.
-rw-r--r-- | platform/gl/gl-app.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/gl/gl-app.h b/platform/gl/gl-app.h index a43654cf..59252b94 100644 --- a/platform/gl/gl-app.h +++ b/platform/gl/gl-app.h @@ -18,6 +18,7 @@ enum KEY_ENTER = '\r', KEY_TAB = '\t', KEY_BACKSPACE = '\b', + KEY_DELETE = 127, KEY_CTL_A = 'A' - 64, KEY_CTL_B, KEY_CTL_C, KEY_CTL_D, KEY_CTL_E, KEY_CTL_F, @@ -27,8 +28,7 @@ enum KEY_CTL_Y, KEY_CTL_Z, /* reuse control characters > 127 for special keys */ - KEY_INSERT = 127, - KEY_DELETE, + KEY_INSERT = 128, KEY_PAGE_UP, KEY_PAGE_DOWN, KEY_HOME, |