Comment 15 for bug 1178618

Revision history for this message
Yang Bai (hamo) wrote :

What about use sleep --interruptible to get the hotkey we want to use?

- {"interruptible", 'i', 0, N_("Allow to interrupt with ESC."), 0, 0},
+ {"interruptible", 'i', 0, N_("Allow to interrupt with one key."), 0, ARG_TYPE_STRING},

I wrote a simple patch for this way. And we can use if sleep --interuptible f10 3 to interupt the sleep.