1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

solaris & termux: fix both, using the more portable termios.h

This commit is contained in:
Delyan Angelov
2020-03-31 13:46:46 +03:00
committed by GitHub
parent 21e4f2422d
commit b62035e3d0
5 changed files with 10 additions and 9 deletions

View File

@@ -4,6 +4,8 @@ import os
#include <sys/ioctl.h>
#include <termios.h> // TIOCGWINSZ
pub struct C.winsize {
pub:
ws_row u16

View File

@@ -1,5 +0,0 @@
module term
#include <unistd.h> // ioctl
#include <sys/termios.h> // TIOCGWINSZ