mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
term: obtain the cursor position via termios.h (#11372)
This commit is contained in:
11
vlib/term/declarations_linux.c.v
Normal file
11
vlib/term/declarations_linux.c.v
Normal file
@ -0,0 +1,11 @@
|
||||
module term
|
||||
|
||||
pub struct C.termios {
|
||||
mut:
|
||||
c_iflag int
|
||||
c_oflag int
|
||||
c_cflag int
|
||||
c_lflag int
|
||||
c_line byte
|
||||
c_cc [10]int
|
||||
}
|
Reference in New Issue
Block a user