From dd1834ad2b5d20fccbd2d627fd332ef08d6d4443 Mon Sep 17 00:00:00 2001 From: Alessandro Proto Date: Mon, 20 Feb 2023 20:13:51 +0100 Subject: [PATCH] Bugfix width being offset by 1 --- Capy64/Runtime/Libraries/Term.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Capy64/Runtime/Libraries/Term.cs b/Capy64/Runtime/Libraries/Term.cs index 4ee77f7..20edd00 100644 --- a/Capy64/Runtime/Libraries/Term.cs +++ b/Capy64/Runtime/Libraries/Term.cs @@ -399,7 +399,7 @@ internal class Term : IComponent L.ArgumentError(2, "number must be greater than 0"); } - SetSize(w, h); + SetSize(w - 1, h); return 0; }