about to remove debug statements
This commit is contained in:
parent
32570bba60
commit
ed5dedd2fa
@ -2,14 +2,15 @@ package termui
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt" // for debugging; REMOVE ME BEFORE PULL REQUEST
|
"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"
|
"regexp"
|
||||||
"strings"
|
"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 {
|
type TextBuilder interface {
|
||||||
Build(s string, fg, bg Attribute) []Cell
|
Build(s string, fg, bg Attribute) []Cell
|
||||||
|
BuildWrap(s string, fg, bg Attribute, wl uint) []Cell
|
||||||
}
|
}
|
||||||
|
|
||||||
// DefaultTxBuilder is set to be MarkdownTxBuilder.
|
// DefaultTxBuilder is set to be MarkdownTxBuilder.
|
||||||
|
Loading…
Reference in New Issue
Block a user