summaryrefslogtreecommitdiff
path: root/kernel/syscalls.c
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2015-05-17 19:43:59 +0200
committerMichal Idziorek <m.i@gmx.at>2015-05-17 19:43:59 +0200
commitd98828d08eb1f6c1394f38a1df69c73fef0cfefa (patch)
tree31df37430733c906b235b88c2cfa14d835af4bec /kernel/syscalls.c
parent29ea3208b004f15dafa48ae29a75ba7f0c093a74 (diff)
working on vt52 and some cleanup
Diffstat (limited to 'kernel/syscalls.c')
-rw-r--r--kernel/syscalls.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/syscalls.c b/kernel/syscalls.c
index 6bd51d1..1d63ba4 100644
--- a/kernel/syscalls.c
+++ b/kernel/syscalls.c
@@ -4,7 +4,6 @@
#include "lib/logger/log.h"
#include "fs/fs.h"
#include "fs/ext2.h"
-#include "kernel/console.h"
#include "kernel/kernel.h"
#include "kernel/config.h"
#include "terminal/vt52.h"
@@ -84,7 +83,7 @@ int syscall_read(int file, char *buf, int len)
{
if(l>0)
{
- console_del_char();
+ //console_del_char();
buf--;
l--;
}
@@ -94,7 +93,7 @@ int syscall_read(int file, char *buf, int len)
*buf=c;
buf++;
l++;
- if(c!=0x04)console_put_char_white(c);
+ //if(c!=0x04)console_put_char_white(c);
if(c=='\n')return l;
if(c==0x04)
{