code: drawterm

ref: b012e1ab6a9a2c6a1478d8b9cf0672c865104b5a
dir: /libc/runefmtstr.c/

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;
}