shithub: drawterm

ref: 09820aa68b89b8c8093f2e28e088c0c8a4e10f1a

View raw version
#include <u.h>
#include <libc.h>
#include "fmtdef.h"

Rune*
runefmtstrflush(Fmt *f)
{
	if(f->start == nil)
		return nil;
	*(Rune*)f->to = '\0';
	return f->start;
}