From f644a51f24e7751c5d8d7ddb107ffc7e6147ad75 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sat, 11 Apr 2015 17:22:37 +0100 Subject: [PATCH] Use char for KeyMapMode enum --- src/input_handler.hh | 2 +- src/keymap_manager.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/input_handler.hh b/src/input_handler.hh index daac0c18..8086323c 100644 --- a/src/input_handler.hh +++ b/src/input_handler.hh @@ -33,7 +33,7 @@ using KeyCallback = std::function; class InputMode; class DisplayLine; enum class InsertMode : unsigned; -enum class KeymapMode : int; +enum class KeymapMode : char; class InputHandler : public SafeCountable { diff --git a/src/keymap_manager.hh b/src/keymap_manager.hh index 855290d5..d5e96322 100644 --- a/src/keymap_manager.hh +++ b/src/keymap_manager.hh @@ -10,7 +10,7 @@ namespace Kakoune { -enum class KeymapMode : int +enum class KeymapMode : char { None, Normal,