diff options
Diffstat (limited to 'Source/Kernel/Shell')
-rw-r--r-- | Source/Kernel/Shell/KernelShell-fs.class.cpp | 3 | ||||
-rw-r--r-- | Source/Kernel/Shell/KernelShell.class.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Source/Kernel/Shell/KernelShell-fs.class.cpp b/Source/Kernel/Shell/KernelShell-fs.class.cpp index cd52810..a13ae6e 100644 --- a/Source/Kernel/Shell/KernelShell-fs.class.cpp +++ b/Source/Kernel/Shell/KernelShell-fs.class.cpp @@ -113,7 +113,8 @@ void KernelShell::run(Vector<String>& args) { if (p == 0) { *m_vt << "Error while launching process.\n"; } else { - p->setVirtualTerminal(m_vt); + p->setInVT(m_vt); + p->setOutVT(m_vt); p->start(); while (p->getState() != P_FINISHED) Task::currThread()->sleep(10); delete p; 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; |