Tui Input Versions Save

TUI input library supporting multiple backends, tui-rs and ratatui

v0.8.0

9 months ago

Dependency updates.

Breaking change: See crossterm breaking changes, specifically tui_input::backend::crossterm::write will return std::io::Result instead of crossterm::Result.

v0.7.1

1 year ago
  • Fix handling windows events (by @stevefan1999-personal).
  • Dependency updates and minor cleanups.

v0.7.0

1 year ago
  • Updated dependencies.
  • Replaced the tui-rs example with ratatui example.

v0.6.1

1 year ago
  • Added new method visual_cursor to make it easy for handling multispace characters (Japanese, Chinese) better in tui-rs ~ by @Elvyria.
  • Added visual_scroll to accompany visual_cursor in tui-rs ~ @sayanarijit.
  • Updated tui-rs example ~ by @sayanarijit & @Elvyria.

v0.6.0

1 year ago
  • BREAKING: Crossterm backend's to_input_request() now takes a reference instead of an owned event.
  • Added EventHandler trait in each backend to enable passing events directly to input.handle_event() instead of using to_input_request().
  • Updated dependencies.

v0.5.1

1 year ago

Added support more termion keys.

See this release for crossterm: v0.5.0

v0.5.0

1 year ago

Following keys are now supported in crossterm

  • ctrl-h
  • ctrl-b
  • ctrl-f
  • meta-b
  • meta-f
  • home
  • end
  • ctrl-k

Added a kew input request

  • DeleteTillEnd

v0.4.2

2 years ago
  • Fixed a bug with handling tab ( \t ). Tab characters will be ignored.

v0.4.1

2 years ago
  • Support let input = Input::new("Hello");
  • Support let input: Input = "Hello".into();
  • Support let input: Input = String::new("Hello").into();
  • Support let value: String = input.into();
  • Support println!("{}", input);
  • Add method input.reset(); to reset the values.
  • Upgrade dependencies

v0.4.0

2 years ago
  • The struct StateChanged has returned.
  • InputResponse is now an alias to Option<StateChanged>.