workaround for counting item length, will fix it later
This commit is contained in:
@@ -57,7 +57,7 @@
|
|||||||
## - white
|
## - white
|
||||||
##
|
##
|
||||||
#
|
#
|
||||||
#song_list_format = "[green](%l)[/green] {%a - }{%t}|{[white]%f[/white]}"
|
#song_list_format = "[green](%l)[/green] {%a - }{%t}|{[white]%f}"
|
||||||
#
|
#
|
||||||
#song_status_format = "(%l) {%a - }{%t}|{%f}"
|
#song_status_format = "(%l) {%a - }{%t}|{%f}"
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -368,12 +368,11 @@ void Menu::Refresh(bool redraw_whole_window)
|
|||||||
line++;
|
line++;
|
||||||
|
|
||||||
if (*it == itsHighlight && itsHighlightEnabled)
|
if (*it == itsHighlight && itsHighlightEnabled)
|
||||||
{
|
|
||||||
Reverse(0);
|
Reverse(0);
|
||||||
SetColor(itsBaseColor);
|
|
||||||
}
|
|
||||||
if (itsOptions[*it]->is_bold)
|
if (itsOptions[*it]->is_bold)
|
||||||
Bold(0);
|
Bold(0);
|
||||||
|
|
||||||
|
SetColor(itsBaseColor);
|
||||||
}
|
}
|
||||||
NeedsRedraw.clear();
|
NeedsRedraw.clear();
|
||||||
wrefresh(itsWindow);
|
wrefresh(itsWindow);
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ using std::ifstream;
|
|||||||
void DefaultConfiguration(ncmpcpp_config &conf)
|
void DefaultConfiguration(ncmpcpp_config &conf)
|
||||||
{
|
{
|
||||||
conf.mpd_music_dir = "/var/lib/mpd/music";
|
conf.mpd_music_dir = "/var/lib/mpd/music";
|
||||||
conf.song_list_format = "[green](%l)[/green] {%a - }{%t}|{[white]%f[/white]}";
|
conf.song_list_format = "[green](%l)[/green] {%a - }{%t}|{[white]%f}";
|
||||||
conf.song_status_format = "(%l) {%a - }{%t}|{%f}";
|
conf.song_status_format = "(%l) {%a - }{%t}|{%f}";
|
||||||
conf.song_window_title_format = "{%a - }{%t}|{%f}";
|
conf.song_window_title_format = "{%a - }{%t}|{%f}";
|
||||||
conf.song_library_format = "{%n - }{%t}|{%f}";
|
conf.song_library_format = "{%n - }{%t}|{%f}";
|
||||||
|
|||||||
Reference in New Issue
Block a user