mirror of
https://github.com/daylinmorgan/bbansi.git
synced 2024-12-03 04:20: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") != ""
|
||||
|
||||
type
|
||||
BbSpan = object
|
||||
styles: seq[string]
|
||||
slice: array[2, int]
|
||||
BbString = object
|
||||
raw: string
|
||||
plain: string
|
||||
spans: seq[BbSpan]
|
||||
BbSpan* = object
|
||||
styles*: seq[string]
|
||||
slice*: array[2, int]
|
||||
BbString* = object
|
||||
raw*: string
|
||||
plain*: string
|
||||
spans*: seq[BbSpan]
|
||||
|
||||
proc len(span: BbSpan): int = span.slice[1] - span.slice[0]
|
||||
|
||||
|
|
Loading…
Reference in a new issue