Releases: veeso/tui-realm
Releases · veeso/tui-realm
tui-realm 2.0.3
tui-realm 2.0.2
2.0.2
Released on 14/10/2024
- Added
subclause_and_not!
tui-realm 2.0.1
2.0.1
Released on 13/10/2024
- Fixed docs not building
tui-realm 2.0.0
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 stateset_panic_hook
: Sets a panic hook that restores the terminal before panicking.- Added
draw
toTerminalBridge
CmdResult::Custom(&'static str)
changed toCmdResult::Custom(&'static str, State)
- Added new
subclause_and!(Id::Foo, Id::Bar, Id::Baz)
andsubclause_or!(Id::Foo, Id::Bar, Id::Baz)
macros. - Removed
InputListener
. Now useCrosstermInputListener
orTermionInputListener
. - Added Event handling for Mouse Events
- Added
Mouse
inSubEventClause
.
- Added
- Bump
ratatui
version to0.28
- Dont enable
MouseCapture
by default - Add function
enable_mouse_capture
anddisable_mouse_capture
toTerminalBridge
- Max poll for ports:
- Add
Port::set_max_poll
to set the amount aPort
is polled in a singlePort::should_poll
. - Add
EventListenerCfg::port
to add a manually constructedPort
- Previous
EventListenerCfg::port
has been renamed toEventListenerCfg::add_port
- Add
tui-realm 1.9.1
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
1.9.0
Released on 22/08/2023
- Bump
crossterm
to0.27
- Added support for
ratatui
- to enable
ratatui
set featureratatui
(enabled by default) - to enable
tui
set featuretui
.
- to enable
- Deprecated features
with-crossterm
,with-termion
tui-realm 1.8.0
1.8.0
Released on 14/08/2022
-
Bump
crossterm
to0.25
-
Bump
tui
to0.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
tui-realm 1.7.0
1.7.0
Released on 23/06/2022
- Added
unwrap()
methods toState
andStaateValue
- Added
StateValue::None
tui-realm 1.6.0
1.6.0
Released on 29/04/2022
- Updated
crossterm
to0.23
- Updated
tui
to0.18
- Fixed build issue on nightly toolchain