mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +00:00
Add basic PTY support.
For now, there are four hard-coded PTYs: /dev/pt{m,s}[0123] Use this in the Terminal to open a pty pair and spawn a shell.
This commit is contained in:
parent
ecb4ab0943
commit
2f74c2f430
21 changed files with 287 additions and 10 deletions
|
@ -49,8 +49,6 @@ Terminal::Terminal()
|
|||
word* line_mem = reinterpret_cast<word*>(m_buffer);
|
||||
for (word i = 0; i < rows() * columns(); ++i)
|
||||
line_mem[i] = 0x0720;
|
||||
|
||||
inject_string_at(2, 2, "I am text inside the Terminal buffer.");
|
||||
}
|
||||
|
||||
void Terminal::inject_string_at(word row, word column, const String& string)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue