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:
@@ -4,6 +4,8 @@ import os
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#include <termios.h> // TIOCGWINSZ
|
||||
|
||||
pub struct C.winsize {
|
||||
pub:
|
||||
ws_row u16
|
||||
|
@@ -1,5 +0,0 @@
|
||||
module term
|
||||
|
||||
#include <unistd.h> // ioctl
|
||||
|
||||
#include <sys/termios.h> // TIOCGWINSZ
|
Reference in New Issue
Block a user