Kernel: Shell is no longer singleton

This commit is contained in:
Bananymous
2023-01-16 15:16:39 +02:00
parent 1545850be3
commit 8881c1e117
3 changed files with 6 additions and 24 deletions

View File

@@ -11,17 +11,12 @@ namespace Kernel
class Shell
{
public:
Shell(TTY*);
Shell(const Shell&) = delete;
static Shell& Get();
void SetTTY(TTY* tty);
void SetPrompt(BAN::StringView);
void Run();
private:
Shell();
void ReRenderBuffer() const;
void ProcessCommand(const BAN::Vector<BAN::StringView>&);
void KeyEventCallback(Input::KeyEvent);