fix: harden terminal input ownership

a25e89740bBattery Bot committed on 7/29/2026, 12:28:53 AM· committed by gitcafeparentf3814c9
4 files changed+170-34