Skip to content

Commit 99f6c5f

Browse files
alokedesaiacarl005
authored andcommitted
Comment out the KeyPadMode enable feature flag checks (#4)
1 parent 87b3e94 commit 99f6c5f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/terminal/input/terminalInput.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ try
451451
// the ASCII character assigned by the keyboard layout, but when set
452452
// they transmit SS3 escape sequences. When used with a modifier, the
453453
// modifier is embedded as a parameter value (not standard).
454-
if (Feature_KeypadModeEnabled::IsEnabled() && _inputMode.test(Mode::Keypad))
454+
/*if (Feature_KeypadModeEnabled::IsEnabled() && _inputMode.test(Mode::Keypad))
455455
{
456456
defineNumericKey(VK_MULTIPLY, L'j');
457457
defineNumericKey(VK_ADD, L'k');
@@ -472,7 +472,7 @@ try
472472
defineNumericKey(VK_NUMPAD9, L'y');
473473
474474
defineNumericKey(Enhanced + VK_RETURN, L'M');
475-
}
475+
}*/
476476
}
477477
else
478478
{
@@ -503,7 +503,7 @@ try
503503

504504
// Keypad keys also depend on Keypad mode, the same as ANSI mappings,
505505
// but the sequences use an ESC ? prefix instead of SS3.
506-
if (Feature_KeypadModeEnabled::IsEnabled() && _inputMode.test(Mode::Keypad))
506+
/*if (Feature_KeypadModeEnabled::IsEnabled() && _inputMode.test(Mode::Keypad))
507507
{
508508
defineKeyWithUnusedModifiers(VK_MULTIPLY, L"\033?j"s);
509509
defineKeyWithUnusedModifiers(VK_ADD, L"\033?k"s);
@@ -524,7 +524,7 @@ try
524524
defineKeyWithUnusedModifiers(VK_NUMPAD9, L"\033?y"s);
525525
526526
defineKeyWithUnusedModifiers(Enhanced + VK_RETURN, L"\033?M"s);
527-
}
527+
}*/
528528
}
529529

530530
_focusInSequence = _csi + L"I"s;

0 commit comments

Comments
 (0)