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

pull/13942/head
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
} }