Ignore non-keydown terminal shortcuts

- guard terminal clear/navigation shortcut handlers to only process `keydown`
- add tests verifying `keyup` events are ignored
f864ef189dJulius Marminge committed on 2/16/2026, 1:06:16 AM· committed by Julius Marmingeparent765f4cd
2 files changedLine totals unavailable