decomp(keyboard): reconstruct literal-input output lifetime #1060
Reference in New Issue
Block a user
Delete Branch "agent/bittle/keyboard-builder-review"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Partial reconstruction
Represent mode-3 input construction with a private CharacterOutput builder that owns its used output cursor/count: initialize, append the existing character, terminate and return length. Other translation modes, Kana processing, selection replacement and cursor updates are unchanged. No newline branch, unused state or forced noinline boundary is introduced.
The added instruction materializes a local zero for termination/preview clearing. The target's initial-NUL/dynamic-index operations still do not reappear; ten target instructions remain missing. This is a small supported partial lifetime reconstruction, not a recovered complete converter or exact match.
Independent verification
Base 81ba279958fa6bbee69b5f14762243dd258ded6f; tested tree
98a30103e1.No headers, linking flags, compiler settings or other regions changed.
Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.