Skip to content

Commit

Permalink
test/run_hscroll: use libfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Sep 2, 2024
1 parent d55dbf9 commit c7877a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/run_hscroll.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include "BasicMarquee.hxx"
#include "config.h"

#include <fmt/core.h>

#include <stdlib.h>

#ifdef ENABLE_LOCALE
Expand Down Expand Up @@ -30,7 +32,7 @@ int main(int argc, char **argv)

for (unsigned i = 0; i < count; ++i) {
const auto s = hscroll.ScrollString();
fprintf(stderr, "%.*s\n", int(s.size()), s.data());
fmt::print("{}\n", s);

hscroll.Step();
}
Expand Down

0 comments on commit c7877a2

Please sign in to comment.