mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
term: obtain the cursor position via termios.h (#11372)
This commit is contained in:
parent
78c26e69cf
commit
af28d09630
19 changed files with 190 additions and 123 deletions
10
vlib/term/declarations_default.c.v
Normal file
10
vlib/term/declarations_default.c.v
Normal file
|
@ -0,0 +1,10 @@
|
|||
module term
|
||||
|
||||
pub struct C.termios {
|
||||
mut:
|
||||
c_iflag int
|
||||
c_oflag int
|
||||
c_cflag int
|
||||
c_lflag int
|
||||
c_cc [10]int
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue