Skip to content

Commit

Permalink
Update src/terminal/input/terminalInput.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
lhecker authored Jan 29, 2024
1 parent 9618388 commit 2cba1b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/terminal/input/terminalInput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<uint8_t, 16> parameters = { 15, 17, 18, 19, 20, 21, 23, 24, 25, 26, 28, 29, 31, 32, 33, 34 };
const auto parm = parameters.at(static_cast<size_t>(vk) - VK_F5);
defineEditingKey(vk, parm);
}
Expand Down

0 comments on commit 2cba1b9

Please sign in to comment.