Skip to content

TUI library in Rust with a custom templating language and runtime

License

Notifications You must be signed in to change notification settings

togglebyte/anathema

Repository files navigation

Anathema

A TUI library with a custom template language and runtime.

Note Anathema should be considered alpha for now.

Getting started

hstack [width: 40, height: 10]
    // Left pane
    expand [factor: 1]
        border
            vstack
                for item in [1, 2, 3]
                    text "Item " item

    // Right pane
    expand [factor: 4]
        border
            expand
                text "This isn't where I parked my car!"

output

┌──────┐┌──────────────────────────────┐
│Item 1││This isn't where I parked my  │
│Item 2││car!                          │
│Item 3││                              │
└──────┘│                              │
        │                              │
        │                              │
        │                              │
        │                              │
        └──────────────────────────────┘

About

TUI library in Rust with a custom templating language and runtime

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages