mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +00:00
parent
50d8d953ce
commit
06b749ae03
130 changed files with 2 additions and 26665 deletions
|
@ -96,8 +96,8 @@ int main(int argc, char *argv[]) {
|
|||
wsz.ws_col = 80;
|
||||
wsz.ws_row = 45;
|
||||
|
||||
if (ioctl(1, TCGETS, &tio)) {
|
||||
perror("tcgets");
|
||||
if (tcgetattr(1, &tio)) {
|
||||
perror("tcgetattr");
|
||||
return __COUNTER__ + 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue