1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:38:11 +00:00

Make it possible for a process to switch controlling terminals.

Via the TIOCSCTTY and TIOCNOTTY ioctls.
This commit is contained in:
Andreas Kling 2019-01-15 08:49:24 +01:00
parent 10308c6434
commit 49b63281a0
6 changed files with 31 additions and 4 deletions

View file

@ -5,6 +5,7 @@ SlavePTY::SlavePTY(unsigned index)
: TTY(11, index)
, m_index(index)
{
set_size(80, 25);
}
SlavePTY::~SlavePTY()