diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-06-19 20:20:38 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-06-19 21:02:24 +1000 |
| commit | 226db75aeb992ffb6ac7b8792f3f50b8d27f7bb5 (patch) | |
| tree | 023b80a8bc86c5b23fc55eb7687283561b436874 /src/keys.hh | |
| parent | 3824da2ad94234049966c4fcb26eceed5c3efe57 (diff) | |
Change Search completion to display on top of the modeline
Diffstat (limited to 'src/keys.hh')
| -rw-r--r-- | src/keys.hh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/keys.hh b/src/keys.hh index f50a0f9c..a7684f22 100644 --- a/src/keys.hh +++ b/src/keys.hh @@ -30,7 +30,6 @@ struct Key MouseWheelDown | MouseWheelUp, Resize = 1 << 8, - OffsetPos = 1 << 9, MenuSelect = 1 << 10, }; enum NamedKey : Codepoint @@ -113,7 +112,7 @@ constexpr Key ctrl(Key key) constexpr Codepoint encode_coord(DisplayCoord coord) { return (Codepoint)(((int)coord.line << 16) | ((int)coord.column & 0x0000FFFF)); } -constexpr Key resize(DisplayCoord dim, Key::Modifiers additional = Key::Modifiers::None) { return { Key::Modifiers::Resize | additional, encode_coord(dim) }; } +constexpr Key resize(DisplayCoord dim) { return { Key::Modifiers::Resize, encode_coord(dim) }; } constexpr size_t hash_value(const Key& key) { return hash_values(key.modifiers, key.key); } |
