ez_term

Crates.ioez_term
lib.rsez_term
version
sourcesrc
created_at2022-09-03 18:12:56.074088
updated_at2022-09-04 19:15:03.771686
descriptionA cross-platform terminal UI framework focussed on simplicity. Build your TUI using YAML(ish) config files.
homepagehttps://github.com/ddbnl/ez_term
repositoryhttps://github.com/ddbnl/ez_term
max_upload_size
id658005
Cargo.toml error:TOML parse error at line 21, column 10 | 21 | readme = true | ^^^^ invalid type: boolean `true`, expected a string
size0
(ddbnl)

documentation

https://github.com/ddbnl/ez_term/wiki

README

EzTerm

A YAML(ish) based terminal GUI framework for- and by Rust, focussed on making it quick and easy to create a functional UI for an app or game. Based on Crossterm and inspired by Kivy.

showcase.gif

Introduction

EzTerm is an easy-to-use cross-platform terminal UI framework that allows you to create your UI through YAML-ish config files. This allows you to focus on coding your App, instead of the UI. Using smart layout modes, size hints and position hints, you can create any kind of UI without worrying about the specifics of sizes, positions or scaling.

Code is only necessary when it's truly necessary, for example when writing callbacks. Widgets are (for now) elementary: buttons, labels, checkboxes, etc. Combining simple widgets with smart layouts can still yield impressive UIs, while still maintaining a simple API that doesn't require much study.

Features

  • Smart layout modes (Box, Table, Stack and Float)
  • Tabbed layouts
  • Multiple screens
  • ALl basic widgets (labels, text inputs, buttons, checkboxes, radio buttons, dropdowns, sliders, canvases)
  • Full callback support
  • Binding any keyboard keys to widgets or globally
  • Scheduled tasks
  • Threaded background tasks to run blocking code (i.e. your app)
  • Binding widget properties to each other from config (including maths)
  • Creating- and destroying widgets programmatically

Tutorial

A full tutorial is available at the Wiki

Examples

Examples available at the Wiki

API reference

A full API reference is available at the Wiki

Commit count: 142

cargo fmt