monitor: Add option to set fallback width
authorSonny Sasaka <sonnysasaka@chromium.org>
Tue, 2 Mar 2021 00:40:19 +0000 (16:40 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:34 +0000 (19:08 +0530)
commit6525dd368bc4d83364f0d382c28508c77f2f11a9
tree3e8318b022d4845c3ea0464101b0e9affbbf30e0
parent4ecfaad99c08ce66379769e8c784ea30c8522eb8
monitor: Add option to set fallback width

Sometimes we want to be able to pipe the output of btmon to a
non-terminal device. The current fallback width is usually not long
enough so this patch adds an option to specify the column width. This is
especially needed for text logs from bluetoothd.

Reviewed-by: Daniel Winkler <danielwinkler@google.com>
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
monitor/display.c
monitor/display.h
monitor/main.c