Remove unnecessary c_str() calls
This commit is contained in:
parent
874b72a63c
commit
5c6c58ae22
|
@ -337,14 +337,14 @@ void TerminalUI::Screen::output(bool force, bool synchronized, Writer& writer)
|
|||
pending_move = 0;
|
||||
}
|
||||
set_face(face, writer);
|
||||
writer.write(text.c_str());
|
||||
writer.write(text);
|
||||
if (skip > 3 and face.attributes == Attribute{})
|
||||
{
|
||||
writer.write("\033[K");
|
||||
pending_move = skip;
|
||||
}
|
||||
else if (skip > 0)
|
||||
writer.write(String{' ', skip}.c_str());
|
||||
writer.write(String{' ', skip});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user