ratatui/src
Josh McKinney 32e461953c
feat(block)!: allow custom symbols for borders (#529)
Adds a new `Block::border_set` method that allows the user to specify
the symbols used for the border.

Added two new border types: `BorderType::QuadrantOutside` and
`BorderType::QuadrantInside`. These are used to draw borders using the
unicode quadrant characters (which look like half block "pixels").

QuadrantOutside:
```
▛▀▀▜
▌  ▐
▙▄▄▟
```

QuadrantInside:
```
▗▄▄▖
▐  ▌
▝▀▀▘
```
Fixes: https://github.com/ratatui-org/ratatui/issues/528

BREAKING CHANGES:
- BorderType::to_line_set is renamed to to_border_set
- BorderType::line_symbols is renamed to border_symbols
2023-09-23 22:08:32 -07:00
..
backend chore: use modern modules syntax (#492) 2023-09-12 12:38:51 -07:00
style docs: import prelude::* in doc examples (#490) 2023-09-11 18:01:57 -07:00
text feat(line): add Line::raw constructor (#511) 2023-09-22 04:34:58 -07:00
widgets feat(block)!: allow custom symbols for borders (#529) 2023-09-23 22:08:32 -07:00
backend.rs docs(table): add documentation for block and header methods of the Table widget (#505) 2023-09-17 14:19:21 -07:00
buffer.rs chore(spans): remove deprecated Spans type (#426) 2023-09-19 02:58:52 -07:00
layout.rs fix(rect): prevent overflow in inner() and area() (#523) 2023-09-20 15:56:32 -07:00
lib.rs feat(examples): add demo2 example (#500) 2023-09-21 01:47:23 -07:00
prelude.rs docs(terminal): add docs for terminal module (#486) 2023-09-11 18:39:15 -07:00
style.rs docs: import prelude::* in doc examples (#490) 2023-09-11 18:01:57 -07:00
symbols.rs feat(block)!: allow custom symbols for borders (#529) 2023-09-23 22:08:32 -07:00
terminal.rs docs(terminal): add docs for terminal module (#486) 2023-09-11 18:39:15 -07:00
text.rs chore(spans): remove deprecated Spans type (#426) 2023-09-19 02:58:52 -07:00
title.rs docs: import prelude::* in doc examples (#490) 2023-09-11 18:01:57 -07:00
widgets.rs docs(widgets): update the list of available widgets (#496) 2023-09-13 10:48:00 +02:00