Skip to content

Commit

Permalink
refs #2, properly clear track info row
Browse files Browse the repository at this point in the history
  • Loading branch information
gulrak committed Oct 20, 2019
1 parent 9338c9c commit d77c7a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/frontend/curses/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ class ReLiveCUI : public ghc::cui::application
static const std::string states[] = { "Paused:", "Playing:", "End of:", "Ending: " };
if(validTerminal()) {
print(1, height() - 5, std::string(width() - 2, ' '));
print(1, height() - 4, std::string(width() - 2, ' '));
auto stream = _player.currentStream();
auto state = states[static_cast<int>(_player.state())];
print(1, height() - 5, _player.hasSource() ? state : "");
Expand Down

0 comments on commit d77c7a0

Please sign in to comment.