tools: reduce some spacing to compress the output a bit

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2017-01-03 10:12:32 +10:00
parent 589e320df6
commit 51e35d72ec

View file

@ -137,7 +137,7 @@ print_event_header(struct libinput_event *ev)
prefix = (last_device != dev) ? '-' : ' '; prefix = (last_device != dev) ? '-' : ' ';
printf("%c%-7s %-16s ", printf("%c%-7s %-16s ",
prefix, prefix,
libinput_device_get_sysname(dev), libinput_device_get_sysname(dev),
type); type);
@ -196,7 +196,7 @@ print_device_notify(struct libinput_event *ev)
printf("P"); printf("P");
if (libinput_device_get_size(dev, &w, &h) == 0) if (libinput_device_get_size(dev, &w, &h) == 0)
printf("\tsize %.0fx%.0fmm", w, h); printf(" size %.0fx%.0fmm", w, h);
if (libinput_device_config_tap_get_finger_count(dev)) { if (libinput_device_config_tap_get_finger_count(dev)) {
printf(" tap"); printf(" tap");