From: Martin Pitt Date: Sun, 16 Jan 2011 20:12:32 +0000 (+0100) Subject: keymap: Explain how to end the program X-Git-Tag: 174~265 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2514465f6a4ab61617482f068e475b945438c1f1;p=systemd keymap: Explain how to end the program Pressing Escape will only actually work if keymap is currently examining the primary keyboard. For other devices the user needs to press Control-C instead. --- diff --git a/extras/keymap/keymap.c b/extras/keymap/keymap.c index ed6b69d5..719c30e6 100644 --- a/extras/keymap/keymap.c +++ b/extras/keymap/keymap.c @@ -311,7 +311,7 @@ static void interactive(int fd) /* grab input device */ ioctl(fd, EVIOCGRAB, 1); - puts("Press ESC to finish"); + puts("Press ESC to finish, or Control-C if this device is not your primary keyboard"); has_scan = has_key = 0; while (read_event(fd, &ev)) {