]> git.ozlabs.org Git - petitboot/commit
lib/fold: Add text fold utility
authorJeremy Kerr <jk@ozlabs.org>
Tue, 10 Dec 2013 06:12:48 +0000 (14:12 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Fri, 31 Jan 2014 00:46:34 +0000 (08:46 +0800)
commit485680a5bfeb952fd652a59efcce35636d6aec00
tree8f3f09ede88b8e60eb5a19a5a29de4e83451934e
parent5a271400e9b5396cb90258b7582fe7ac6bcc2230
lib/fold: Add text fold utility

We want to fold help text into the ncurses UI, so add a little module to
split text into lines.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
lib/Makefile.am
lib/fold/fold.c [new file with mode: 0644]
lib/fold/fold.h [new file with mode: 0644]
test/lib/Makefile.am
test/lib/test-fold.c [new file with mode: 0644]