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
DHowett authored Jan 29, 2024
1 parent 2cba1b9 commit 162d65e
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 @@ -591,7 +591,7 @@ wchar_t TerminalInput::_makeCtrlChar(const wchar_t ch)
}
if (ch >= L'2' && ch <= L'8')
{
constexpr auto numericCtrls = std::array<wchar_t, 8>{ 0, 27, 28, 29, 30, 31, 127 };
constexpr auto numericCtrls = std::array<wchar_t, 7>{ 0, 27, 28, 29, 30, 31, 127 };
return numericCtrls.at(ch - L'2');
}
return ch;
Expand Down

0 comments on commit 162d65e

Please sign in to comment.