summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorPeter Mikkelsen <petermikkelsen10@gmail.com>2025-07-29 21:40:45 +0200
committerPeter Mikkelsen <petermikkelsen10@gmail.com>2025-07-29 21:40:45 +0200
commit0a817a5a74c328229f8a732fc3ec22d8fd7dc20d (patch)
treea5f906687a28420a2ccb29c788e6779f221e7a75 /src/screen.c
parentca84afb315e813f08d725082320d40969b9f93e4 (diff)
Some work on keeping track of memory, and providing more info in panics
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c
index 903ce9c..46f1231 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -48,6 +48,9 @@ print_char:
row++;
col = 0;
break;
+ case '\t':
+ col = (col+8) & ~7;
+ break;
case '%':
n = print_fmt(p, args);
if(n == 0)