chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90f182c
)
keymap: Explain how to end the program
author
Martin Pitt
<martin.pitt@ubuntu.com>
Sun, 16 Jan 2011 20:12:32 +0000
(21:12 +0100)
committer
Martin Pitt
<martin.pitt@ubuntu.com>
Sun, 16 Jan 2011 20:12:32 +0000
(21:12 +0100)
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.
extras/keymap/keymap.c
patch
|
blob
|
history
diff --git
a/extras/keymap/keymap.c
b/extras/keymap/keymap.c
index ed6b69d5f141d4b59c9bae21d473b1feb3864fca..719c30e60085ad0886da1269d31db099d604616d 100644
(file)
--- 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)) {