notcurses_output: properly escape tab and newline

pull/2706/head
nick black 1 year ago
parent 29a5dc2295
commit 2f4fb5514b
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -101,7 +101,7 @@ Functions accepting a set of EGCs must consist of a series of well-formed EGCs,
broken by cluster breaks, terminated by the appropriate NUL terminator.
Control characters are rejected, aside from two exceptions: a horizontal tab
(**'\t'**, 0x09), and a newline (**'\n'**, 0x0a) *when the output plane
(**'\\t'**, 0x09), and a newline (**'\\n'**, 0x0a) *when the output plane
is in scrolling mode*. A newline outside of scrolling mode will be rejected.
A tab will advance to the next tab stop, filling the space between with spaces.
Tab stops are separated by eight columns, and the first character of each line

Loading…
Cancel
Save