summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/format_table.c
AgeCommit message (Collapse)AuthorFilesLines
2021-09-20vppinfra: format table improvementsNathan Skrzypczak1-6/+17
This adds a way to define default fg, bg colors and alignement for cell tables. It also allows removing the table title by not setting it. It also removes the trailing newline, for usage inside a format("%U", format_table, ...) Type: improvement Change-Id: I27d7a04c4a919b34d0170b04e24a56831f581ea1 Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
2021-09-17vppinfra: move format_table from perfmonNathan Skrzypczak1-0/+273
This code seems really usefull for reuse in other plugins, for pretty table formatting Type: feature Change-Id: Ib5784a0dfc81b7d5a5d1f5ccdd02072e460a50fb Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>