Output keymap choice to stderr so it is easier to parse for apps chained to

this curses based app.

Submitted by:	ivoras
Approved by:	re@ (bmah@)
This commit is contained in:
Murray Stokely 2007-08-27 21:56:42 +00:00
parent 143cc1897c
commit 262185e9d2

View File

@ -288,7 +288,7 @@ do_kbdcontrol(struct keymap *km)
if (!x11) if (!x11)
system(kbd_cmd); system(kbd_cmd);
printf("keymap=%s\n", km->keym); fprintf(stderr, "keymap=%s\n", km->keym);
free(kbd_cmd); free(kbd_cmd);
} }