fentext-ui 0.1.0

text ui and input for games or realtime text applications
Documentation
  • Coverage
  • 13.33%
    2 out of 15 items documented0 out of 6 items with examples
  • Size
  • Source code size: 17.41 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.93 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 28s Average build duration of successful builds.
  • all releases: 28s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • piot/fentext-ui
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • piot

fentext-ui

fentext-ui is a lightweight, opinionated Rust library designed for building responsive, real-time, action based, text-based games.

✨ Features

  • Cursor Control: Easily move the cursor to any screen coordinate.
  • Write Text: Write text dynamically to the terminal.
  • Non-Blocking Gamepad-Style Input: Poll for directional presses and action buttons without freezing your game loop.
  • Automatic Terminal Cleanup: Safely restores the terminal state on exit.

đŸ•šī¸ Why fentext-ui?

If you're looking to craft a fast, responsive, and truly fentextic 😉 UI for your next ASCII art adventure or terminal-based roguelike, fentext-ui provides the functionality you need. Built as a thin, opinionated wrapper around the excellent crossterm library.

🚀 Getting Started

Add fentext-ui to your Cargo.toml:

[dependencies]
fentext-ui = "0.1.0"

About Contributions

This is an open source project with a single copyright holder. While the code is publicly available under LICENSE, I am not accepting external contributions at this time.

You are welcome to:

  • Use the code according to the license terms
  • Fork the project for your own use, following the license terms
  • Report issues
  • Provide feedback
  • Share the project

If you have suggestions or find bugs, please feel free to open an issue for discussion. While I cannot accept pull requests, I value your feedback and engagement with the project.

Thank you for your understanding and interest in the project! 🙏

License

This project is licensed under the MIT License - see the LICENSE file for details.

Copyright (c) 2025 Peter Bjorklund. All rights reserved.