Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
This helps to avoid having two versions of tui-lib installed (one for
mtui, one for tui-text-editor).
|
|
|
|
|
|
Specifically, this makes toggling loop show its effect right away.
|
|
|
|
|
|
Before, we were showing the notes window whenever a track with notes
played - even if the queue wasn't focused. This fixes that.
|
|
|
|
|
|
|
|
|
|
|
|
So tracks like '05 - Artist - Apple Banana.mp3' will just show as
'Artist - Apple Banana.mp3'. (Before, it showed cut off before the first
dash.)
|
|
|
|
:D!
|
|
|
|
|
|
(These have been collected from the last few days of working on mtui.)
|
|
...to play. This is useful when you have non-playables interweaved with
tracks, e.g. a file for each track's art.
|
|
|
|
This fixes mtui crashing whenever you process the metadata of any group
including a non-track too.
|
|
|
|
So you can press f/m/etc to open the menu on those options, just like on
interactive grouplike items.
|
|
|
|
|
|
|
|
Specifically, when the scroll view is far enough down that the currently
playing track (which does not disappear when you clear the queue) is not
visible.
|
|
This also tidies up the logic for changing the selected element from
context menus to the menubar, fixing a bug where the menubar forgets
which element was selected before it, and not re-introducing the bug
which the complex logic fixed in the first place (which was the menubar
seeing the context menu as the previously selected element, when the
menu will be destroyed by the time the menubar restores its selection).
|
|
So pressing a/c (:33) in the menubar will now cause a rerender.
|
|
|
|
Please don't ever let me stay up until 29:57 again. Future me will thank
you in advance.
|
|
The download code doesn't actually really depend on state, besides
having access to the record for the track, which we can pass in from
anywhere.
|
|
Currently uses meta+(c, x, n, p, up, down) keys as the only interaction
method, but that'll change soon!
|
|
I _love_ the KeyboardSelector tool.
|
|
Currently bug-free and doesn't change anything about existing mtui
behavior! Meta N to create a new player, meta up/down to switch between
which one you're interacting with. Each player has its own queue.
Eventually (soon(TM)) there'll be much better UI to go with all this!
|
|
...in reveal(). This fixes the bug where the revealed track would always
be positioned at the bottom of the screen, which happened because
reloading the listing reset the scroll index back to the top.
|
|
|
|
The progress label that shows when mtui is processing metadata will
update the screen now.
|
|
This makes the pause indicator (next to the time remaining in the queue)
work again.
|
|
|
|
|
|
|
|
No more <kbd> formatting, which is arguably more accessible but a pain
to read and edit in plain text.
|
|
|
|
Although we don't have any context menu options which start with the
letter G yet, if we did, the keyboard selector would (intentionally)
take priority and focus that element instead of doing jump to start/
bottom behavior. However, pressing Home/End will always work (once it's
implemented).
|
|
|
|
This means we can basically guarantee 0% CPU usage when nothing on the
screen is changing! There may still be some kinks to work out, but I've
tested most features and fixed any apparent bugs (including an unrelated
bug in the suspend feature which made it crash when resuming the process).
|