From 972e9d53d243b698e9dce7125a08804a43b70534 Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Sat, 14 Nov 2009 14:17:39 +0100 Subject: Changed the way keyboard handling works, fixing a bug. --- Source/Kernel/Shell/KernelShell.class.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Kernel/Shell') 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); } -- cgit v1.2.3