summaryrefslogtreecommitdiff
path: root/Source/Kernel/Shell/KernelShell.class.cpp
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-10-21 17:33:12 +0200
committerAlexis211 <alexis211@gmail.com>2009-10-21 17:33:12 +0200
commitdc37d089e8ca98ff2dc8a320c21fc3ac0a87eaa6 (patch)
tree8ddb55ee633a70ea298a812d5ffec97373631534 /Source/Kernel/Shell/KernelShell.class.cpp
parent768ada13917aeda373e6ff5fee21faf90c963746 (diff)
parent7708a5f335c6b3256290775e7f5deb43b681bf03 (diff)
downloadMelon-dc37d089e8ca98ff2dc8a320c21fc3ac0a87eaa6.tar.gz
Melon-dc37d089e8ca98ff2dc8a320c21fc3ac0a87eaa6.zip
Merge branch 'usermode_syscalls'
Diffstat (limited to 'Source/Kernel/Shell/KernelShell.class.cpp')
-rw-r--r--Source/Kernel/Shell/KernelShell.class.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Kernel/Shell/KernelShell.class.cpp b/Source/Kernel/Shell/KernelShell.class.cpp
index d90fc4c..232facf 100644
--- a/Source/Kernel/Shell/KernelShell.class.cpp
+++ b/Source/Kernel/Shell/KernelShell.class.cpp
@@ -19,7 +19,8 @@ u32int shellRun(void* ks) {
void KernelShell::setup(DirectoryNode* cwd, VirtualTerminal *vt) {
m_vt = vt;
- Task::currProcess()->setVirtualTerminal(vt);
+ Task::currProcess()->setInVT(vt);
+ Task::currProcess()->setOutVT(vt);
((ScrollableVT*)m_vt)->map(9);
Kbd::setFocus(m_vt);
m_cwd = cwd;