simple-terminal-app

Crates.iosimple-terminal-app
lib.rssimple-terminal-app
version0.1.1
sourcesrc
created_at2021-12-10 19:01:10.08507
updated_at2021-12-18 06:53:30.564934
descriptionA simple tool for creating terminal-based apps that require raw mode and multiple scenes.
homepage
repositoryhttps://github.com/remnantofcliff/simple-terminal-app
max_upload_size
id495832
size14,570
(remnantofcliff)

documentation

https://docs.rs/simple-terminal-app/latest/simple_terminal_app/

README

Disclaimer: This crate is currently very early in development and probably nearly unusable for its use-case.

About

This crate aims to ease the pain of creating simple console applications that require raw-mode from the terminal. e.g. games, text-editors and such.

Uses the termion rust-crate.

Versions

0.1.1

Updated crates.

0.1.0

Pretty much everything has changed. Now scenes have update(...) methods that get called independently from user input, if one chooses to use it. Most functions no longer return a Result<> type any more.

0.0.4

Fixed a few issues: made scene methods get a mutable reference to self, now screen gets cleared initially upon launching app but it doesn't when do it automatically anymore when changing scenes.

0.0.3

Now re-exports only parts of termion, some important parts might still be missing. Reading stdin is no longer in a separate thread so that stdin isn't locked forever. Reworked State to ease use. Also removed the helper module from scene at least for now.

0.0.2

includes termion now in the package, since it's required for using the crate (for now).

0.0.1

initial release

Commit count: 19

cargo fmt