mirror of
https://github.com/daylinmorgan/bbansi.git
synced 2024-11-23 01:30:43 -06:00
fix: export type information
This commit is contained in:
parent
48ad65c521
commit
a7eb31407d
1 changed files with 7 additions and 7 deletions
|
@ -7,13 +7,13 @@ import bbansi/utils
|
||||||
let noColor = os.getEnv("NO_COLOR") != ""
|
let noColor = os.getEnv("NO_COLOR") != ""
|
||||||
|
|
||||||
type
|
type
|
||||||
BbSpan = object
|
BbSpan* = object
|
||||||
styles: seq[string]
|
styles*: seq[string]
|
||||||
slice: array[2, int]
|
slice*: array[2, int]
|
||||||
BbString = object
|
BbString* = object
|
||||||
raw: string
|
raw*: string
|
||||||
plain: string
|
plain*: string
|
||||||
spans: seq[BbSpan]
|
spans*: seq[BbSpan]
|
||||||
|
|
||||||
proc len(span: BbSpan): int = span.slice[1] - span.slice[0]
|
proc len(span: BbSpan): int = span.slice[1] - span.slice[0]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue