From 2cba1b9aab558cc7f933d8ed463c308e169619b7 Mon Sep 17 00:00:00 2001 From: Leonard Hecker Date: Mon, 29 Jan 2024 23:11:41 +0100 Subject: [PATCH] Update src/terminal/input/terminalInput.cpp --- src/terminal/input/terminalInput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/terminal/input/terminalInput.cpp b/src/terminal/input/terminalInput.cpp index 23909410a03..64bf2db5b72 100644 --- a/src/terminal/input/terminalInput.cpp +++ b/src/terminal/input/terminalInput.cpp @@ -412,7 +412,7 @@ try // there's not much need to support mappings for them. for (auto vk = VK_F5; vk <= VK_F20; vk++) { - constexpr std::array parameters = { 15, 17, 18, 19, 20, 21, 23, 24, 25, 26, 28, 29, 31, 32, 33, 34 }; + static constexpr std::array parameters = { 15, 17, 18, 19, 20, 21, 23, 24, 25, 26, 28, 29, 31, 32, 33, 34 }; const auto parm = parameters.at(static_cast(vk) - VK_F5); defineEditingKey(vk, parm); }