File tree Expand file tree Collapse file tree 4 files changed +31
-2
lines changed
Expand file tree Collapse file tree 4 files changed +31
-2
lines changed Original file line number Diff line number Diff line change 1+ # Contributing to the Anathema Guide
2+
3+ Base your fork on the "dev" branch:
4+ ```
5+ git clone https://github.com/togglebyte/anathema-guide
6+ git switch dev
7+ ```
8+
9+ Submit any PR to be merged back into the "dev" branch.
10+
11+ ## Getting help
12+
13+ For help ask on [ Discord] ( https://discord.gg/yZgdmXKf6p ) .
Original file line number Diff line number Diff line change 11# Anathema guide
22
33[ The Guide] ( https://togglebyte.github.io/anathema-guide/ ) to using the Anathema TUI library.
4+
5+ ## Contributing
6+
7+ See ` CONTRIBUTING.md `
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ let mut backend = TuiBackend::builder()
1818backend.finalize();
1919
2020let mut builder = Runtime::builder(doc, &backend);
21- runtime .fps(30); // default
22- runtime .finish(&mut backend, |rt, backend| rt.run(backend)).unwrap();
21+ builder .fps(30); // default
22+ builder .finish(&mut backend, |rt, backend| rt.run(backend)).unwrap();
2323```
2424
2525## Registering components
Original file line number Diff line number Diff line change @@ -87,6 +87,18 @@ border [border_style: "thick"]
8787╚══════════════╝
8888```
8989
90+ For rounded corners use ` "rounded" ` as the ` border_style ` .
91+
92+ ```
93+ border [border_style: "rounded"]
94+ text "What a border!"
95+ ```
96+ ```
97+ ╭──────────────╮
98+ │What a border!│
99+ ╰──────────────╯
100+ ```
101+
90102It's also possible to customise the border style by providing an eight character
91103string as input, where each character represents a section of the border in the
92104following order:
You can’t perform that action at this time.
0 commit comments