« get me outta code hell

mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2018-08-15Fix tab not working in a particular caseFlorrie
The repro: 1. Press tab to select the path element. 2. Press 2 (or 1) to switch to a different grouplike listing. 3. Press 1 (or 2) to switch back. Note that the root.select()'ed element is the grouplike listing's form, i.e. the list of tracks/groups, not the path element. 4. Press tab. Note that the root.select()'ed element does not change. This fixes the issue by setting curIndex to 0, which is the index of the grouplike listing's form. This makes the tab key behave correctly and select the path element in step 4.
2018-08-15Fix path element not working in queue listingFlorrie
2018-08-15Mark TODOs doneFlorrie
2018-08-15Make tab switch between path element and listing, not between listingsFlorrie
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.)
2018-08-15Fix tabber altogether disappearingFlorrie
This basically reverts 2fe1efa0 (and I think one related commit).
2018-08-15tui-lib performance updatesFlorrie
This significantly improves performance throughout the program while there is a grouplike listing which contains many items (e.g. upon queueing a large group).
2018-08-04Fix playback info not being formated correctlyFlorrie
2018-08-04Fix queue scrollbar not showing up right awayFlorrie
2018-08-03Paste into empty groupFlorrie
2018-08-03Don't show menu if it doesn't contain any itemsFlorrie
2018-08-03Don't crash when an empty group is playedFlorrie
2018-08-03Move Paste into menuFlorrie
2018-08-03Move Mark into menuFlorrie
2018-07-30Clean up remove event codeFlorrie
2018-07-30Clean up space-to-pause codeFlorrie
2018-07-30Clean up select codeFlorrie
2018-07-30More code cleanupFlorrie
2018-07-30Really, really clean up queue event codeFlorrie
2018-07-25Fix runaway progress bar infoFlorrie
2018-07-25Update keybindings in READMEFlorrie
2018-07-25Esc/backspace to close a menuFlorrie
2018-07-25Only show 'shuffle' context menu options on groupsFlorrie
This really puts the "context" in "context menu"!
2018-07-25Fix bug in ContextMenu.clearItemsFlorrie
2018-07-25Play next, shuffledFlorrie
2018-07-25Play shuffledFlorrie
2018-07-25Make playGrouplikeItem / Play (from menu) work with groupsFlorrie
2018-07-25Tweak how Play context menu item worksFlorrie
2018-07-25Menu actionsFlorrie
2018-07-25Rename queue event -> queue (at end), clean up logicFlorrie
2018-07-25Space for scrollbar in menuFlorrie
2018-07-25Hook menu up to grouplike listing itemsFlorrie
2018-07-25WIP context menuFlorrie
2018-07-25Minor code cleanupFlorrie
2018-07-24Clean up playback info boxFlorrie
* Text is now centered properly, right away. Previously the "From:" label wasn't getting centered correctly (until the second time fixLayout was called). * When a new track is started, the progress bar is cleared immediately, and the "0:30 / 1:30" label is replaced with "(Starting..)".
2018-07-24Fix queue path element nonsenseFlorrie
2018-07-06cloneGrouplikeFlorrie
2018-07-06Edit mode off by defaultFlorrie
2018-07-06Undo close tabFlorrie
2018-07-06Paste into empty groupFlorrie
2018-07-06New empty tabFlorrie
2018-07-06PasteFlorrie
2018-07-05uU instead of jJ / code simplificationFlorrie
2018-07-05MarkFlorrie
2018-07-05Stub undo manager, removeFlorrie
2018-07-05'A YouTube playlist'Florrie
2018-07-05Shift+Q to play nextFlorrie
2018-07-05Ctrl+T, ctrl+W; new tabs open adjacent to current tabFlorrie
2018-07-05Tabber displayFlorrie
2018-07-04Fix unhelpful youtube-dl warningFlorrie
2018-07-04Don't download tracks that are already being downloadedFlorrie