From 1e46776263b49bce3a5565f5e0c5f417e0245d14 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 12 Oct 2017 11:33:49 +0200 Subject: libsmartcols: (docs) add note about line separators Signed-off-by: Karel Zak --- libsmartcols/src/table.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libsmartcols/src') diff --git a/libsmartcols/src/table.c b/libsmartcols/src/table.c index 441b5d23b..c1ed9e5e9 100644 --- a/libsmartcols/src/table.c +++ b/libsmartcols/src/table.c @@ -874,6 +874,10 @@ struct libscols_symbols *scols_table_get_symbols(const struct libscols_table *tb * re-printing the same line more than once (e.g. progress bar). Don't use it * if you're not sure. * + * Note that for the last line in the table the separator is disabled at all. + * The library differentiate between table terminator and line terminator + * (although for standard output \n byte is used in both cases). + * * Returns: 0 on success, negative number in case of an error. */ int scols_table_enable_nolinesep(struct libscols_table *tb, int enable) -- cgit v1.2.3-55-g7522