terminal: Fix last character of IME marked text not being deleted (#46224)

a1263830bbᴀᴍᴛᴏᴀᴇʀ committed on 1/14/2026, 7:00:30 AM· committed by GitHubparent22415e5
2 files changedLine totals unavailable