From e0d27cc75009e27502d57258cb64c71221b4b7d1 Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Sun, 13 Sep 2009 19:41:13 +0200 Subject: Class for file descriptors introduced : File. Not used yet. --- Source/Kernel/Core/kmain.wtf.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/Kernel/Core') diff --git a/Source/Kernel/Core/kmain.wtf.cpp b/Source/Kernel/Core/kmain.wtf.cpp index 59d74b5..aef98e3 100644 --- a/Source/Kernel/Core/kmain.wtf.cpp +++ b/Source/Kernel/Core/kmain.wtf.cpp @@ -120,7 +120,7 @@ void kmain(multiboot_info_t* mbd, u32int magic) { while(1) { kvt->setColor(0); - *kvt << cwd->getName() << " : "; + *kvt << "[" << cwd->getName() << "]# "; kvt->setColor(8); Vector tokens = kvt->readLine().split(" "); kvt->setColor(0); @@ -150,6 +150,7 @@ void kmain(multiboot_info_t* mbd, u32int magic) { else d = (DirectoryNode*)n; } + if (d != NULL) *kvt << "Contents of directory " << VFS::path(d) << " :\n"; for (u32int i = 0; d != NULL && i < d->getLength(); i++) { FSNode* n = d->getChild(i); if (n->type() == NT_FILE) { -- cgit v1.2.3