1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-28 02:50:16 +03:00

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.
This commit is contained in:
Martin Pitt 2011-01-16 21:12:32 +01:00
parent 90f182c3d6
commit 2514465f6a

View File

@ -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)) {