graphix-package-tui 0.9.0

A dataflow language for UIs and network programming, TUI package
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
type Paragraph = {
  alignment: &[Alignment, null],
  lines: &[Array<Line>, string],
  scroll: &{ x: i64, y: i64 }, // y is in lines, x is in chars
  style: &Style,
  trim: &bool // trim leading whitespace when wrapping
};

val paragraph: fn(
  ?#style: &Style,
  ?#alignment: &[Alignment, null],
  ?#scroll: &{x: i64, y: i64},
  ?#trim: &bool,
  lines: &[Array<Line>, string]
) -> Tui;