« get me outta code hell

Refine how path elements are displayed - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/tui-lib
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-08-23 00:23:44 -0300
committerFlorrie <towerofnix@gmail.com>2018-08-23 00:23:44 -0300
commit60128323aa663dd5680b843070704f0f42c834c0 (patch)
tree8392e2d90337183ab737b1ffcc9bba2007d070d6 /tui-lib
parentef10e1b16f9d79789cdbc8f60a1aa71854d8f762 (diff)
Refine how path elements are displayed
Path elements were and are horizontal scroll forms composed of path item
elements. Previously they were separated like this (each "(x)" is a
different path item element):

  (My ~/Music Library >) (C418 >) (72 Minutes Of Fame >) (03 Alive)

Now they're separated like this:

  (In: My ~/Music Libary) (> C418) (> 72 Minutes Of Fame)

There are two changes here:

* The last item, i.e. the selected item itself, is no longer a part of
  the path display. In practice this wasn't actually a very useful
  button, and now the path element is more useful in how it was designed
  to be used: as a way to jump to the group which a selected track is
  in. (This is emphasized by the new "In:" label at the start of the
  first path element.)

* The "arrow label" part of the element is now placed on the left of the
  element instead of the right. Before, all but the last item had a ">"
  in their arrow label; now, all but the first do. (The first item has
  the text "In:" instead.) This is so that it's clear when the path
  element has been scrolled to the right and the first/leftmost items
  are cut off; if any are cut off, the first visible element will start
  with ">" instead of "In:".
Diffstat (limited to 'tui-lib')
0 files changed, 0 insertions, 0 deletions