Skip to content

Releases: broccolingual/rustui

v0.3.7

12 Mar 07:06

Choose a tag to compare

v0.3.6

09 Mar 14:36

Choose a tag to compare

What's Changed

Full Changelog: 0.3.4...v0.3.6

0.3.4

22 Aug 07:09

Choose a tag to compare

Version 0.3.4

Fix

  • Fixed an issue where the F1 to F4 keys were not responding.

Add

  • Added Ctrl key handling (key inputs such as Ctrl + C can be used)
  • Add InputEvent::Unknown to the InputEvent enum

Changes

  • Change the setting of the termios flag

0.3.0

12 Aug 10:29

Choose a tag to compare

Version 0.3.0

Add

  • Adds set_named_border method to Framebuffer for borders with titles

Changes

  • Replaces Color type alias and ColorExt trait with a new Color enum supporting named colors, RGB, HSV, and None variants
  • Updates all color handling throughout the codebase to use the new enum

0.2.3

11 Aug 17:56

Choose a tag to compare

Version 0.2.3

Add

  • Addition of mouse move events and improved test coverage

Changes

  • Introduction of a Cmd enum for terminal commands with a unified exec() method
  • Replacement of explicit module imports with wildcard imports (use crate::*)

0.2.0

10 Aug 06:55

Choose a tag to compare

Version 0.2.0

Add

  • Add mouse event handling
  • Added handling of function keys

Changes

We removed KeyListener and implemented the more versatile InputListener as a replacement with the addition of mouse event handling. For information on how to use InputListener, refer to the newly added inputs example.

0.1.20

10 Aug 02:32

Choose a tag to compare

Version 0.1.20

Add

Adding functions to window structures

  • window::initialize(&mut self, rendering_rate: time::Duration) -> Result<(), Box<dyn std::error::Error>>
  • window::draw(&mut self, f: impl FnOnce(&mut framebuffer::Framebuffer))

Changes

The following functions are deprecated due to the addition of functions to the window structure.

  • window::init(&mut self) -> Result<(), Box<dyn std::error::Error>> -> integrated into window::initialize
  • window::start(&mut self, rate: time::Duration) -> integrated into window::initialize
  • window::get_canvas(&mut self) -> MutexGuard<'_, framebuffer::Framebuffer> -> window::draw has been added as a better alternative function.

0.1.11

09 Aug 18:18

Choose a tag to compare

Version 0.1.11

starting point of rustui