summaryrefslogtreecommitdiff
path: root/Source/Kernel/Shell
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-11-14 14:17:39 +0100
committerAlexis211 <alexis211@gmail.com>2009-11-14 14:17:39 +0100
commit972e9d53d243b698e9dce7125a08804a43b70534 (patch)
treee50cfc590ad2ec090cc774369c744f637e11cfc5 /Source/Kernel/Shell
parent6055ef45a39b62bffa5f4c194e5d62a177c3b9df (diff)
downloadMelon-972e9d53d243b698e9dce7125a08804a43b70534.tar.gz
Melon-972e9d53d243b698e9dce7125a08804a43b70534.zip
Changed the way keyboard handling works, fixing a bug.
Diffstat (limited to 'Source/Kernel/Shell')
-rw-r--r--Source/Kernel/Shell/KernelShell.class.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Kernel/Shell/KernelShell.class.cpp b/Source/Kernel/Shell/KernelShell.class.cpp
index f3cd340..d62d822 100644
--- a/Source/Kernel/Shell/KernelShell.class.cpp
+++ b/Source/Kernel/Shell/KernelShell.class.cpp
@@ -19,7 +19,6 @@ void KernelShell::setup(DirectoryNode* cwd, VirtualTerminal *vt) {
m_vt = vt;
Task::currProcess()->setInVT(vt);
Task::currProcess()->setOutVT(vt);
- Kbd::setFocus(m_vt);
m_cwd = cwd;
*m_vt << "Welcome to Melon's kernel shell !\n";
m_thread = new Thread(shellRun, (void*)this, true);
@@ -33,6 +32,7 @@ KernelShell::KernelShell(DirectoryNode* cwd, VirtualTerminal* vt) {
KernelShell::KernelShell(DirectoryNode* cwd) {
ScrollableVT* vt = new ScrollableVT(15, 76, 200, KVT_FGCOLOR, KVT_BGCOLOR);
vt->map(9);
+ Kbd::setFocus(vt);
setup(cwd, vt);
}