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

term, term.ui: fix a panic on !=linux unixes when running examples/term.ui/

This commit is contained in:
Delyan Angelov 2022-04-04 19:25:12 +03:00
parent 2cd9c91e98
commit 0bd8fbc9a8
2 changed files with 3 additions and 3 deletions

View File

@ -6,5 +6,5 @@ mut:
c_oflag int c_oflag int
c_cflag int c_cflag int
c_lflag int c_lflag int
c_cc [10]int c_cc [20]byte
} }

View File

@ -1,10 +1,10 @@
module ui module ui
struct C.termios { pub struct C.termios {
mut: mut:
c_iflag int c_iflag int
c_oflag int c_oflag int
c_cflag int c_cflag int
c_lflag int c_lflag int
c_cc [10]int c_cc [20]byte
} }