mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:47:35 +00:00
Userland: Replace most printf-style APIs with AK::Format APIs :^)
This commit is contained in:
parent
4f1889c2cb
commit
f5c35fccca
75 changed files with 642 additions and 644 deletions
|
@ -30,7 +30,7 @@ static bool g_should_output_color = false;
|
|||
|
||||
static void handle_sigint(int)
|
||||
{
|
||||
printf("Debugger: SIGINT\n");
|
||||
outln("Debugger: SIGINT");
|
||||
|
||||
// The destructor of DebugSession takes care of detaching
|
||||
g_debug_session = nullptr;
|
||||
|
@ -47,7 +47,7 @@ static void print_function_call(String function_name, size_t depth)
|
|||
static void print_syscall(PtraceRegisters& regs, size_t depth)
|
||||
{
|
||||
for (size_t i = 0; i < depth; ++i) {
|
||||
printf(" ");
|
||||
out(" ");
|
||||
}
|
||||
const char* begin_color = g_should_output_color ? "\033[34;1m" : "";
|
||||
const char* end_color = g_should_output_color ? "\033[0m" : "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue