KeyHandler // Fix conditioning error in handleBackspace().

This commit is contained in:
ShikiSuen 2022-06-24 19:33:38 +08:00
parent 6d2d3dc277
commit 99e84da69c
1 changed files with 1 additions and 1 deletions

View File

@ -444,7 +444,7 @@ extension KeyHandler {
if composer.hasToneMarker(withNothingElse: true) { if composer.hasToneMarker(withNothingElse: true) {
composer.clear() composer.clear()
} else if composer.isEmpty { } else if composer.isEmpty {
if compositorCursorIndex >= 0 { if compositorCursorIndex > 0 {
deleteCompositorReadingAtTheRearOfCursor() deleteCompositorReadingAtTheRearOfCursor()
walk() walk()
} else { } else {