mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:27:45 +00:00
Utilities: Convert StringBuilder::appendf() => AK::Format
This commit is contained in:
parent
e2ffd14e4e
commit
977fa4df81
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ static String build_header_string(const Vector<const char*>& command, const stru
|
|||
{
|
||||
StringBuilder builder;
|
||||
builder.appendff("Every {}", interval.tv_sec);
|
||||
builder.appendf(".%ds: \x1b[1m", interval.tv_usec / 100000);
|
||||
builder.appendff(".{}s: \x1b[1m", interval.tv_usec / 100000);
|
||||
builder.join(' ', command);
|
||||
builder.append("\x1b[0m");
|
||||
return builder.build();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue