mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 17:52:26 -05:00
0aaec6b19a
I set it up so that TIOCSWINSZ on a master PTY gets forwarded to the slave. This feels intuitively right. Terminal can then use that to inform the shell or whoever is inside the slave that the window size has changed. TIOCSWINSZ also triggers the generation of a SIGWINCH signal. :^)
15 lines
179 B
C
15 lines
179 B
C
#pragma once
|
|
|
|
enum IOCtlNumber {
|
|
TIOCGPGRP,
|
|
TIOCSPGRP,
|
|
TCGETS,
|
|
TCSETS,
|
|
TCSETSW,
|
|
TCSETSF,
|
|
TIOCGWINSZ,
|
|
TIOCSCTTY,
|
|
TIOCNOTTY,
|
|
TIOCSWINSZ,
|
|
};
|
|
|