« 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/Dialog.js
AgeCommit message (Collapse)Author
2023-05-13use ESM module syntax & minor cleanups(quasar) nebula
The biggest change here is moving various element classes under more scope-specific directories, which helps to avoid circular dependencies and is just cleaner to navigate and expand in the future. Otherwise this is a largely uncritical port to ESM module syntax! There are probably a number of changes and other cleanups that remain much needed. Whenever I make changes to tui-lib it's hard to believe it's already been <INSERT COUNTING NUMBER HERE> years since the previous time. First commits are from January 2017, and the code originates a month earlier in KAaRMNoD!
2018-09-15Don't bubble cancel in DialogFlorrie
2018-08-15Save oldSelectedElement before calling Dialog.openedFlorrie
The main purpose of Dialog.opened is to select an input in any case (e.g. opened() { this.root.select(this.input) }) so it makes more sense to save whichever element was selected before calling that.
2018-08-15Save/restore selection on Dialog open/closeFlorrie
2018-07-03Handy functions on DialogFlorrie
2017-12-09Add Dialog.js file, apparentlyFlorrie