summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
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)