Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract selector form widget from growlight #166

Closed
dankamongmen opened this issue Dec 18, 2019 · 2 comments
Closed

Extract selector form widget from growlight #166

dankamongmen opened this issue Dec 18, 2019 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Milestone

Comments

@dankamongmen
Copy link
Owner

In growlight, we have a variety of input forms -- confirmation dialogues, multiselects, single select, free text, all kinds of good stuff, and they look lovely. Extract them, make them part of notcurses, and remove the code from growlight. Look at the CDK for the level of capabilities it would be nice to have.

@dankamongmen dankamongmen self-assigned this Dec 18, 2019
@dankamongmen dankamongmen added documentation Improvements or additions to documentation enhancement New feature or request labels Dec 18, 2019
dankamongmen added a commit that referenced this issue Jan 28, 2020
@dankamongmen
Copy link
Owner Author

The first one I'm brining in is the ncselector, a way to select one item from a list of items and descriptions, where the list can be dynamically manipulated while the form is up.

@dankamongmen dankamongmen changed the title Extract forms from growlight, add them to API Extract selector form widget from growlight Jan 28, 2020
dankamongmen added a commit that referenced this issue Jan 29, 2020
dankamongmen added a commit that referenced this issue Jan 30, 2020
dankamongmen added a commit that referenced this issue Jan 30, 2020
Get rid of annoying empty line in notcurses-view (and ncvisuals at offsets in general)
Implement most of the Selector widget. Need to add styling and scrolling still. #166
Reenable ubuntu focal build
Subtitles! We decode them, and display them in notcurses-view. If ncvisual_simple_streamer() is provided an extra ncplane, it will use it to display subtitles. #95
We now build Python by default, as things are working much better.
ncplane_set_base() now takes channel, attrword, and EGC, so you can usually avoid having to set up and release a cell. ncplane_set_base_cell() takes over duty from ncplane_set_base() for ease of conversion.
notcurses-demo and notcurses-view now both accept a 0 for delay multiplier, meaning 'go as fast as you possibly can'. Very small multipliers (e.g. 0.00001) no longer cause floating point exceptions.
fading routines no longer cause floating point exceptions on very small timescales.
@dankamongmen
Copy link
Owner Author

dankamongmen commented Jan 31, 2020

This is pretty much working.

2020-01-30-222149_722x857_scrot

Details still needing some love:

  • background should somehow be restricted to boxed area
  • reverse video looks like shit, blend it out
  • widget ought indicate that there are more options available
  • ought always be rotating the contents as opposed to looping around toroidally

@dankamongmen dankamongmen added this to the 1.2.0 milestone Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant