summaryrefslogtreecommitdiff
path: root/src/input_handler.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_handler.hh')
-rw-r--r--src/input_handler.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input_handler.hh b/src/input_handler.hh
index 2d0aa355..ba73d2b1 100644
--- a/src/input_handler.hh
+++ b/src/input_handler.hh
@@ -7,6 +7,7 @@
#include "env_vars.hh"
#include "face.hh"
#include "normal.hh"
+#include "optional.hh"
#include "keys.hh"
#include "string.hh"
#include "utils.hh"
@@ -56,7 +57,7 @@ enum class InsertMode : unsigned
struct ModeInfo
{
DisplayLine display_line;
- std::optional<NormalParams> normal_params;
+ Optional<NormalParams> normal_params;
};
class InputHandler : public SafeCountable