« get me outta code hell

Make tab switch between path element and listing, not between listings - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/players.js
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-08-15 15:40:36 -0300
committerFlorrie <towerofnix@gmail.com>2018-08-15 15:42:19 -0300
commitdd3afa50bd92152c73837c234661fe1d9fcda399 (patch)
treee0eef2fecde6342400b9fd9907ec19b1f556cb22 /players.js
parent102d8e8e2b456523979e20a77a4f30d11b91688d (diff)
Make tab switch between path element and listing, not between listings
Do note the big fat comment.

I'm actually pretty happy with this commit. I think there's a fair
chance that this is the right behavior, and it simplifies a fair amount
of code, e.g. getting rid of manually setting curIndex on this.form and
restoring selection after Dialog.close() (that's handled by tui-lib
now). It also discards the "hack" I had to do to make the AppElement
form capture keyboard input in the first place. (I had to use addChild
with the container paneLeft/paneRight elements so that keyboard input on
their children, which are the inputs of the AppElement form, could be
captured.)
Diffstat (limited to 'players.js')
0 files changed, 0 insertions, 0 deletions