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:
parent
2cd9c91e98
commit
0bd8fbc9a8
@ -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
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user