balls/tabouli

Search:
Group by:
Source   Edit  

Types

Tabouli = object
  headers*: seq[string]
  rows*: seq[seq[string]]
  freeze*: int
Source   Edit  

Procs

proc render(t: Tabouli; size = 1): string {....raises: [], tags: [], forbids: [].}
render a table as a string, perhaps with style; the size argument defines the the anticipated width of unfrozen columns without regard to styling. this allows us to handle 2-char wide emojis properly. Source   Edit