InputHandler // Remove ineffective ThinkPad-specific key support.

This commit is contained in:
ShikiSuen 2022-10-14 13:45:24 +08:00
parent e8e67a1f5f
commit 96fe170a8d
1 changed files with 0 additions and 7 deletions

View File

@ -172,13 +172,6 @@ extension InputHandler {
case .kEscape: return handleEsc()
case .kTab: return handleInlineCandidateRotation(reverseOrder: input.isShiftHold)
case .kUpArrow, .kDownArrow, .kLeftArrow, .kRightArrow:
if (input.isControlHold || input.isShiftHold) && (input.isOptionHold) {
if input.isLeft { // Ctrl+PgLf / Shift+PgLf
return handleHome()
} else if input.isRight { // Ctrl+PgRt or Shift+PgRt
return handleEnd()
}
}
if input.isCursorBackward { return handleBackward(input: input) } // Forward
if input.isCursorForward { return handleForward(input: input) } // Backward
if input.isCursorClockLeft || input.isCursorClockRight { // Clock keys