From ed5dedd2fa400631880f3cfd1f4dd82828710a1e Mon Sep 17 00:00:00 2001 From: James Ryland Miller Date: Thu, 29 Oct 2015 21:56:00 -0500 Subject: [PATCH] about to remove debug statements --- textbuilder.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/textbuilder.go b/textbuilder.go index 6ec9e86..821c9c1 100644 --- a/textbuilder.go +++ b/textbuilder.go @@ -2,14 +2,15 @@ package termui import ( "fmt" // for debugging; REMOVE ME BEFORE PULL REQUEST - "github.com/mitchellh/go-wordwrap" // LEFT UP TO PKG MAINTAINER TO DECIDE HOW TO VENDOR + "github.com/mitchellh/go-wordwrap" // LEFT UP TO PKG MAINTAINER TO DECIDE HOW TO VENDOR; is MIT LICENSED "regexp" "strings" ) -// TextBuilder is a minial interface to produce text []Cell using sepcific syntax (markdown). +// TextBuilder is a minimal interface to produce text []Cell using specific syntax (markdown). type TextBuilder interface { Build(s string, fg, bg Attribute) []Cell + BuildWrap(s string, fg, bg Attribute, wl uint) []Cell } // DefaultTxBuilder is set to be MarkdownTxBuilder.