diff options
Diffstat (limited to 'utils.go')
| -rw-r--r-- | utils.go | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -43,6 +43,16 @@ func negR() (out string){ return } +func line(aslongas string, hidden bool) (out string) { + n := utf8.RuneCountInString(aslongas) + if hidden { + out = strings.Repeat(" ",n) + }else{ + out = strings.Repeat(li,n) + } + return +} + func sub(text string) (out string) { out = ssli +text n := utf8.RuneCountInString(out) |
