forked from Bananymous/banan-os
Kernel: Shell opens standard files
This commit is contained in:
parent
9c818d3da0
commit
79d1f665f2
|
@ -57,6 +57,9 @@ namespace Kernel
|
|||
|
||||
Shell::Shell()
|
||||
{
|
||||
MUST(Process::current().open("/dev/tty1", O_RDONLY));
|
||||
MUST(Process::current().open("/dev/tty1", O_WRONLY));
|
||||
MUST(Process::current().open("/dev/tty1", O_WRONLY));
|
||||
MUST(set_prompt(s_default_prompt));
|
||||
MUST(m_buffer.push_back(""sv));
|
||||
MUST(Process::current().set_termios(termios { .canonical = false, .echo = false }));
|
||||
|
|
Loading…
Reference in New Issue