feat(input): expand Araso Han/Eng contractions, acronyms, typo recovery, and fast cursor-tail replacement

This commit is contained in:
Yun Chan 2026-10-28 10:41:26 +09:00
parent 51bf664302
commit f403111256
80 changed files with 1449 additions and 458 deletions

View file

@ -838,11 +838,11 @@ export class TerminalKeystrokeTracker {
this._committed = this._committed.slice(0, this._unreplacedStart) + convertedTail
} else if (
this._unreplacedStart === 0 &&
raw.startsWith(this.currentPrefix()) &&
raw.length > this.currentPrefix().length
this._lastXtermValue === '' &&
this._committed.length === 0 &&
this._composingKeys.length === 0
) {
this._committed = raw
this._composingKeys = ''
}
}
this._lastXtermValue = raw