()
| 94 | |
| 95 | export const registerDeleteKey = (hand) => { |
| 96 | function deleteSelectedScreen() { |
| 97 | if (hand.selectedAddress === undefined) return; |
| 98 | removeScreenAddress(hand.selectedAddress); |
| 99 | hand.selectedAddress = undefined; |
| 100 | clearQueue(global.show.context, global.queue, global.world); |
| 101 | } |
| 102 | onkeydown("Delete", deleteSelectedScreen); |
| 103 | onkeydown("Backspace", deleteSelectedScreen); |
| 104 | }; |
nothing calls this directly
no test coverage detected