Add terminal word and line navigation arrow shortcuts

- handle platform-specific modifier+arrow combos in terminal input
- reuse terminal write path for clear and navigation actions
- add shortcut tests for macOS and non-macOS mappings
9547718175Julius Marminge committed on 2/16/2026, 12:43:04 AMparent748ea2a
3 files changedLine totals unavailable