mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:38:10 +00:00
Kernel: Closing a MasterPTY should generate a TTY hangup.
This commit is contained in:
parent
378e20c535
commit
2a0700af9a
4 changed files with 13 additions and 3 deletions
|
@ -161,3 +161,8 @@ void TTY::set_size(unsigned short columns, unsigned short rows)
|
|||
m_rows = rows;
|
||||
m_columns = columns;
|
||||
}
|
||||
|
||||
void TTY::hang_up()
|
||||
{
|
||||
generate_signal(SIGHUP);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue