dynamic_curses_input (1.2.1)

Published 2023-09-07 12:25:52 -06:00 by Vetheon in PixelRidge-Softworks/dynamic_curses_input

Installation

gem install dynamic_curses_input --version "1.2.1" --source ""
source "" do
	gem "dynamic_curses_input", "1.2.1"
end

About this package

Dynamic Curses Input is a highly simple, yet powerful gem that allows simple implementation of dynamic typing in curses TUI menus built in Ruby. For example, one can't simply use their arrow keys to navigate and edit inputs in Curses TUI menus without adding a bunch of extra code to your project to handle it. A lot of which can be tricky to handle. This gem eliminates the need for that code, by providing simple to use methods that allow developers to capture user input, while allowing the special keys to work as the average user would expect. IE: When you press the left arrow key, the cursor moves to the left and allows you to delete a character you entered that isn't the last character you entered. KNOWN BUG: X & Y coords for placing windows appear to be broken right now. Will fix with next update

Requirements

Requires Ruby version: =3.2.2

Dependencies

Runtime Dependencies

ID Version
curses
reline

Development Dependencies

ID Version
rubocop
Details
RubyGems
2023-09-07 12:25:52 -06:00
40
PixelRidge-Softworks
MIT
14 KiB
Assets (1)
Versions (2) View all
1.2.2 2023-09-20
1.2.1 2023-09-07