From 8f4f0a83f5da81d9ec42961db2d4c5f1c9c27fea Mon Sep 17 00:00:00 2001 From: Kwarde Date: Tue, 22 Jul 2025 06:55:08 +0200 Subject: [PATCH] FIX printf: NL and TAB not being counted in amount of printed chars --- src/console.asm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/console.asm b/src/console.asm index dd91a6a..bbf7ef9 100644 --- a/src/console.asm +++ b/src/console.asm @@ -213,6 +213,7 @@ printf: mov [printfBuff + r10], r8b add rdi, 2 inc r10 + inc r11 jmp .process ;-- Replace specifiers --;