summaryrefslogtreecommitdiff
path: root/i386/i386at/immc.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386at/immc.c')
-rw-r--r--i386/i386at/immc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/i386/i386at/immc.c b/i386/i386at/immc.c
index bd61522d..00fc973d 100644
--- a/i386/i386at/immc.c
+++ b/i386/i386at/immc.c
@@ -99,6 +99,14 @@ immc_cnputc(dev_t dev, int c)
memset((void *) phystokv((0xb8000+80*2*24)), 0, 80*2);
ofs = 0;
}
+ else if (c == '\r')
+ {
+ ofs = 0;
+ }
+ else if (c == '\t')
+ {
+ ofs = (ofs & ~7) + 8;
+ }
else
{
volatile unsigned char *p;