map

minimalist audio player
git clone https://git.porkepik.fr/map
Log | Files | Refs | README | LICENSE

commit b517d02b5b1c3bbc6d40bcdc728155c8c7fda470
parent bd329eea72ea2f9861920d3cd825f5db3a81aaff
Author: Thomas Philippe <dev@porkepik.fr>
Date:   Thu, 10 Sep 2020 11:33:30 +0200

fix timer display refresh when resizing

Diffstat:
Mmap.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/map.c b/map.c @@ -112,7 +112,7 @@ print_timer(int timersec, int track_sec) static void print_pause(void) { - write_term(rows - 1, 11, "||"); + write_term(rows - 1, 11, "\x1b[1m||\x1b[0m"); } static void @@ -342,6 +342,7 @@ next: print_playlist(tracks, 0, cursorid); print_info(curtrack); print_volume(volume); + print_timer(timersec, curtrack.length); } if (pause) {