Ignore non-keydown terminal shortcuts

- guard terminal clear/navigation shortcut handlers to only process `keydown`
- add tests verifying `keyup` events are ignored
b7bbcb2054Julius Marminge committed on 2/16/2026, 1:02:38 AMparent9547718
2 files changedLine totals unavailable