diff options
author | Karel Zak | 2016-02-19 16:43:28 +0100 |
---|---|---|
committer | Karel Zak | 2016-02-19 16:43:28 +0100 |
commit | 2981e0fd0e238f120811e1955e4f1bfddf93a326 (patch) | |
tree | 2f5fd9ceb4121ea4e35f096bc4575c9fc5291ea8 /libsmartcols/src/cell.c | |
parent | libsmartcols: add scols_table_print_range() (diff) | |
download | kernel-qcow2-util-linux-2981e0fd0e238f120811e1955e4f1bfddf93a326.tar.gz kernel-qcow2-util-linux-2981e0fd0e238f120811e1955e4f1bfddf93a326.tar.xz kernel-qcow2-util-linux-2981e0fd0e238f120811e1955e4f1bfddf93a326.zip |
libsmartcols: support continuous printing
This patch allows to disable line-breaks. This feature is usable when
you want to re-print the same line more than once -- move terminal
cursor to the begin of the line and print again and again (aka
progress bar).
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols/src/cell.c')
-rw-r--r-- | libsmartcols/src/cell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsmartcols/src/cell.c b/libsmartcols/src/cell.c index c7aab353e..a9e69c0b8 100644 --- a/libsmartcols/src/cell.c +++ b/libsmartcols/src/cell.c @@ -56,7 +56,7 @@ int scols_reset_cell(struct libscols_cell *ce) * @ce: a pointer to a struct libscols_cell instance * @str: data (used for scols_print_table()) * - * Stores a copy of the @str in @ce. + * Stores a copy of the @str in @ce, the old data are deallocated by free(). * * Returns: 0, a negative value in case of an error. */ |