Skip to content

Releases: veeso/tui-realm

tui-realm 2.0.3

14 Oct 07:32
0a5932a
Compare
Choose a tag to compare

2.0.3

Released on 14/10/2024

  • Fixed: macros were not usable from external crates since the tuirealm:: namespace of the recursive macro was not specified

tui-realm 2.0.2

14 Oct 07:28
8f65b88
Compare
Choose a tag to compare

2.0.2

Released on 14/10/2024

  • Added subclause_and_not!

tui-realm 2.0.1

13 Oct 18:57
6a5f407
Compare
Choose a tag to compare

2.0.1

Released on 13/10/2024

  • Fixed docs not building

tui-realm 2.0.0

13 Oct 17:19
4a67999
Compare
Choose a tag to compare

2.0.0

Released on 13/10/2024

  • Dropped support for tui-rs. Tui-rs was deprecated a long time ago, so it doesn't really makes sense to keep supporting it.
  • Added new methods for TerminalBridge
    • init: Initialize a terminal with reasonable defaults for most applications.
      • Raw mode is enabled
      • Alternate screen buffer enabled
      • A panic hook is installed that restores the terminal before panicking. Ensure that this method is called after any other panic hooks that may be installed to ensure that the terminal is.
    • restore: Restore the terminal to its original state
    • set_panic_hook: Sets a panic hook that restores the terminal before panicking.
    • Added draw to TerminalBridge
  • CmdResult::Custom(&'static str) changed to CmdResult::Custom(&'static str, State)
  • Added new subclause_and!(Id::Foo, Id::Bar, Id::Baz) and subclause_or!(Id::Foo, Id::Bar, Id::Baz) macros.
  • Removed InputListener. Now use CrosstermInputListener or TermionInputListener.
  • Added Event handling for Mouse Events
    • Added Mouse in SubEventClause.
  • Bump ratatui version to 0.28
  • Dont enable MouseCapture by default
  • Add function enable_mouse_capture and disable_mouse_capture to TerminalBridge
  • Max poll for ports:
    • Add Port::set_max_poll to set the amount a Port is polled in a single Port::should_poll.
    • Add EventListenerCfg::port to add a manually constructed Port
    • Previous EventListenerCfg::port has been renamed to EventListenerCfg::add_port

tui-realm 1.9.1

16 Oct 11:20
Compare
Choose a tag to compare

1.9.1

Relesed on 19/10/2023

  • Fixed duplicated key events on Windows
  • Update dependencies:
    • bitflags 2
    • termion 2

tui-realm 1.9.0

22 Aug 12:53
f4e6a08
Compare
Choose a tag to compare

1.9.0

Released on 22/08/2023

  • Bump crossterm to 0.27
  • Added support for ratatui
    • to enable ratatui set feature ratatui (enabled by default)
    • to enable tui set feature tui.
  • Deprecated features with-crossterm, with-termion

tui-realm 1.8.0

14 Aug 20:26
Compare
Choose a tag to compare

1.8.0

Released on 14/08/2022

  • Bump crossterm to 0.25

  • Bump tui to 0.19

  • Added events (supported by crossterm)

    FocusGained,
    /// Window focus lost
    FocusLost,
    /// Clipboard content pasted
    Paste(String),
  • Added new key events (supported by crossterm)

    /// Caps lock pressed
    CapsLock,
    /// Scroll lock pressed
    ScrollLock,
    /// Num lock pressed
    NumLock,
    /// Print screen key
    PrintScreen,
    /// Pause key
    Pause,
    /// Menu key
    Menu,
    /// keypad begin
    KeypadBegin,
    /// Media key
    Media(MediaKeyCode),

tui-realm 1.7.1

03 Aug 09:17
Compare
Choose a tag to compare

1.7.1

Released on 03/08/2022

tui-realm 1.7.0

23 Jun 11:08
Compare
Choose a tag to compare

1.7.0

Released on 23/06/2022

  • Added unwrap() methods to State and StaateValue
  • Added StateValue::None

tui-realm 1.6.0

29 Apr 12:36
Compare
Choose a tag to compare

1.6.0

Released on 29/04/2022

  • Updated crossterm to 0.23
  • Updated tui to 0.18
  • Fixed build issue on nightly toolchain