rewrite major part of strbuffer and Scrollpad::flush
This commit is contained in:
@@ -131,7 +131,7 @@ void showSongs(NC::Menu<T> &menu, const MPD::Song &s, const ProxySongList &pl, c
|
||||
buf << " ";
|
||||
stringToBuffer(++it, line.end(), buf);
|
||||
if (discard_colors)
|
||||
buf.removeFormatting();
|
||||
buf.removeProperties();
|
||||
size_t x_off = menu.getWidth() - wideLength(ToWString(buf.str()));
|
||||
if (is_now_playing)
|
||||
x_off -= Config.now_playing_suffix_length;
|
||||
|
||||
Reference in New Issue
Block a user