« get me outta code hell

tui-lib - Pure Node.js library for making visual command-line programs (ala vim, ncdu)
about summary refs log tree commit diff
path: root/ui/form/Form.js
AgeCommit message (Collapse)Author
2019-09-15Add lastInput function to formsFlorrie
2019-09-15(!!) Only render when draw-dependency props changeFlorrie
This is a very large change and probably breaks most applications not built to work with it. (Obviously, I'm not really being that responsible with this sort of thing.) I've tested with mtui and it works fine, but some elements may need tweaks before being 100% adjusted to the new scheduled-render system we're using with this commit. Also, any elements which have custom draw behavior will likely need updating so that they appropriately schedule renders.
2018-12-15Fix mistake in Form.addInputFlorrie
TL;DR afterIndex was not being set correctly.
2018-12-14Add options to not call fixLayout automaticallyFlorrie
2018-12-08Mouse supportFlorrie
Not exactly the most elegant implementation, but it definitely works and isn't really difficult to code around!
2018-07-04An assortment of changes to how selected/unselected worksFlorrie
2018-06-12Be a little careful in Form.updateSelectedElementFlorrie
2018-06-04Form.selectInput functionFlorrie
2018-05-30Un-selectable inputsFlorrie
2018-01-19Pass false to firstInput to not select the form if it wasn't already selectedFlorrie
2017-12-09Add removeInput method and captureTab property to FormFlorrie
2017-07-03Buttons and listsliam4
- Button class name changed to Button, from ButtonInput - Button layouts are now updated with fixLayout, rather than automatically when the text property is changed - Buttons now have a height of 1, so they can generally actually be used in layouts - New example for list form elements - List form elements let you navigate with up/down (or left/right, for horizontal lists) - List forms now have nextInput and previousInput methods
2017-07-03A long-due cleanup + examples + thingsliam4
..Obviously this breaks old things (particularly, see changes in FocusElement).
2017-01-07Initial commitLiam