Prevent inventory shortcuts from changing item selection #604

Closed
TheSlowly wants to merge 0 commits from TheSlowly/Slipstream:inventory-shortcut-selection into main
Contributor

Previously, pressing Ctrl+C on an inventory item could also treat the "C" as typed text, moving selection to another item. This change prevents keyboard shortcuts from triggering inventory’s type-to-select behavior

Previously, pressing Ctrl+C on an inventory item could also treat the "C" as typed text, moving selection to another item. This change prevents keyboard shortcuts from triggering inventory’s type-to-select behavior
Owner

Merged into main, thanks! One fix-up on top: the folder-view guard now skips type-ahead only for Ctrl without Alt, because on Windows AltGr arrives as Ctrl+Alt and blocking it would break @, euro sign and similar characters in type-ahead. The SDL char-pass change likewise treats AltGr (KMOD_MODE, or RAlt+LCtrl on Windows) as not-Ctrl. This also pairs with the new Ctrl+X/C/V inventory shortcuts (#629).

Merged into main, thanks! One fix-up on top: the folder-view guard now skips type-ahead only for Ctrl **without** Alt, because on Windows AltGr arrives as Ctrl+Alt and blocking it would break @, euro sign and similar characters in type-ahead. The SDL char-pass change likewise treats AltGr (KMOD_MODE, or RAlt+LCtrl on Windows) as not-Ctrl. This also pairs with the new Ctrl+X/C/V inventory shortcuts (#629).
sky_line closed this pull request 2026-10-11 15:14:59 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sky_line/Slipstream!604
No description provided.