aboutsummaryrefslogtreecommitdiff
path: root/curses_keys.h
diff options
context:
space:
mode:
Diffstat (limited to 'curses_keys.h')
-rw-r--r--curses_keys.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/curses_keys.h b/curses_keys.h
index 0105279087..fd2545168b 100644
--- a/curses_keys.h
+++ b/curses_keys.h
@@ -21,6 +21,10 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
+
+#include "keymaps.h"
+
+
#define KEY_RELEASE 0x80
#define KEY_MASK 0x7f
#define SHIFT_CODE 0x2a
@@ -239,11 +243,6 @@ static const int curses2keysym[CURSES_KEYS] = {
};
-typedef struct {
- const char* name;
- int keysym;
-} name2keysym_t;
-
static const name2keysym_t name2keysym[] = {
/* Plain ASCII */
{ "space", 0x020 },