]> git.tuebingen.mpg.de Git - paraslash.git/commit
string: Add discard feature for for_each_line().
authorAndre Noll <maan@systemlinux.org>
Mon, 25 Mar 2013 18:02:54 +0000 (18:02 +0000)
committerAndre Noll <maan@systemlinux.org>
Thu, 2 May 2013 17:56:09 +0000 (19:56 +0200)
commitbcc0838f240081150a5d11f176326efe95a7d382
treebe318b070f0a947ccd7dc3e37aac67f190dd4400
parente3868dab3db27242f066bf52d95d0b3f2c0df7e3
string: Add discard feature for for_each_line().

This adds the new FELF_DISCARD_FIRST flag which instructs
for_each_line() to discard everything up to the next newline.

The new feature is only used by para_gui. When para_gui detects
a partial overlong input line, it ignores this data and passes the
FELF_DISCARD_FIRST flag in subsequent calls to for_each_line(). Hence
output continues at the next line.
gui.c
string.c
string.h