summaryrefslogtreecommitdiff
path: root/cli/txt.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-04-16 14:07:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-04-16 14:07:04 +0200
commit68381760c89c01520ac2286f0fe48ce8c2ab9a41 (patch)
treecd91940dff5df5cc5332bf0fadffa7a49b44667b /cli/txt.hxx
parent6461a529224d86a3bb546b594d8aaee495a5bbb1 (diff)
Add support for note formatting in plain text output
Diffstat (limited to 'cli/txt.hxx')
-rw-r--r--cli/txt.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/cli/txt.hxx b/cli/txt.hxx
index b8cf7f0..6a9f8de 100644
--- a/cli/txt.hxx
+++ b/cli/txt.hxx
@@ -31,9 +31,12 @@ txt_size (const std::string&,
// line_{start, end, blank} arguments specify optional extra text for the
// start/end of the non-empty line as well as for the blank (empty) line.
//
+// Note that the funtion modifies the passed string in order to translate
+// notes.
+//
void
txt_wrap_lines (std::ostream& os,
- const std::string&,
+ std::string&,
std::size_t indent = 0,
std::size_t first = 0,
const char* line_start = "",