Skip to content

Releases: marcheiligers/dr-input

v0.1.1

28 Sep 22:03
7fed411

Choose a tag to compare

v0.1.1 - 28 September 2026

  • Removed a left over debugging puts. (Also allows me to test Input::DEVELOPMENT)

v0.1.0

28 Sep 21:30
cf048d7

Choose a tag to compare

v0.1.0 - 28 September 2026

  • Updated release workflow to use maintained actions.
  • Removed references to $clipboard.
  • Added Input::DEVELOPMENT (false in released versions) and Input::VERSION.
  • Added Input.download_update! which will fetch the most recent version from GitHub.
  • Split tests into separate files.
  • Updated cursor easing to remove wanrning and improve performance.
  • Fixed another nil initializer bug.
  • Updated book sample to start blank with a button to load Alice.

v0.0.25

27 Sep 01:03
101977b

Choose a tag to compare

v0.0.25 - 26 September 2025

  • Fixed a crashing bug when assigning nil to an input. (thanks @vinnydiehl on Discord for reporting)
  • Fixed a related bug when initializing the input with a non-string, non-falsey value.

v0.0.24

09 Mar 17:50
15e3621

Choose a tag to compare

v0.0.24 - 9 March 2025

  • Fixed a bug that caused delete_back to result in negative selection_start/selection_end for an empty input. (thanks @artem on Discord for reporting and sending the PR)

v0.0.23

16 Feb 23:30
fdee82d

Choose a tag to compare

v0.0.23 - 17 February 2025

  • Exposed @text_keys as an instance variable instead of a local.
  • Wrote up notes on custom keyboard handling with a filtering example.
  • Documented #delete_forward and #delete_back methods.
  • Deprecated on_clicked and added on_click in it's place.
  • Documented focused argument and #focused? aliases for focussed and #focussed?

v0.0.22

09 Feb 21:25
474fa58

Choose a tag to compare

v0.0.22 - 9 February 2025

  • Fixed a bug when using max_length where selection_end (and selection_start) where incorrectly set (thanks to @TheCire for reporting in Discord).
  • Fixed a cursor placement and selection background issues in the Text component.

v0.0.21

04 Jan 22:55
098b202

Choose a tag to compare

v0.0.21 - 4 Jan 2024

  • Updated clipboard to use getclipboard and setclipboard so the system clipboard is used
  • Updated menu to handle scrolling with keyboard if there are too many items, including menu sizing
  • First pass at menu positioning which tries to maximize the height to show as many items as possible
  • Added :focused alias for :focussed and focused? for focussed?
  • Added autocomplete filtering as you type
  • Added #shift_lock attribute which helps with autocomplete on the prompt

v0.0.20

11 Aug 17:17
5774d97

Choose a tag to compare

v0.0.20 - 11 August 2024

  • The cursor now returns to (nearly) full alpha while you're typing (or the value is changed in some other way)
  • Exposed value_changed accessor which is true if the value changed in the last tick

v0.0.19

11 Aug 01:09
3d282ec

Choose a tag to compare

v0.0.19 - 10 August 2024

  • Slight optimizations in reflow, including not reflowing the text if you assign the same w, size_enum or size_px.

v0.0.18

28 Jul 23:38
1fbbd92

Choose a tag to compare

v0.0.18 - 28 July 2024

  • Added #size_px=, #size_enum= and updated #w= to allow resizing or changing the font size of the Multiline
    • Note: this causes the content to be "reflowed" (find word breaks) which may impact performance for large texts
    • Note: odd pixel sizes for fonts appear to measure incorrectly, so stick to even font sizes
    • Updated "book" sample with a resizer and font size controls to demonstrate the above
  • This release contains experimental Menu support as part of the DragonRuby console prompt replacement