aboutsummaryrefslogtreecommitdiff
path: root/kernel/writer.sats
diff options
context:
space:
mode:
authorXander <xander@icth.xyz>2023-07-03 15:13:48 +0200
committerXander <xander@icth.xyz>2023-07-03 15:13:48 +0200
commit4c7934102bea39f002f637ebf12863bf99dd99a7 (patch)
treea22a95de15008a14f4b35c293e32daec695e29a3 /kernel/writer.sats
parent52b6f5d7e03f6918d56f80fab2deaa807d08764a (diff)
downloadats-os-4c7934102bea39f002f637ebf12863bf99dd99a7.tar.xz
ats-os-4c7934102bea39f002f637ebf12863bf99dd99a7.zip
Implemented newline
Diffstat (limited to 'kernel/writer.sats')
-rw-r--r--kernel/writer.sats4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/writer.sats b/kernel/writer.sats
index e6baef5..3ccfd7b 100644
--- a/kernel/writer.sats
+++ b/kernel/writer.sats
@@ -1,4 +1,6 @@
-#define N 80 * 25
+#define BUFFER_HEIGHT 23
+#define BUFFER_WIDTH 80
+#define N BUFFER_HEIGHT * BUFFER_WIDTH
datatype color =
| Black