Missing Ctrl-{up,dn} string representation

This commit is contained in:
Martin Pulec
2020-02-04 09:17:20 +01:00
parent 7a4f5f2f1d
commit 63606f3f9d

View File

@@ -5,7 +5,7 @@
* With code taken from Olivier Mehani (set_tio()).
*/
/*
* Copyright (c) 2015-2019 CESNET, z. s. p. o.
* Copyright (c) 2015-2020 CESNET, z. s. p. o.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -345,6 +345,8 @@ static string get_keycode_representation(int64_t ch) {
case K_RIGHT: return "K_RIGHT";
case K_PGUP: return "K_PGUP";
case K_PGDOWN: return "K_PGDOWN";
case K_CTRL_UP: return "Ctrl-Up";
case K_CTRL_DOWN: return "Ctrl-Dn";
}
if (ch >= 1 && ch <= 'z' - 'a' + 1) {