code: drawterm

ref: 94161e0468b38fd44affe58bf000825161df1eb7
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;
}