term: obtain the cursor position via termios.h (#11372)

This commit is contained in:
AAAA 2021-09-06 14:24:39 +00:00 committed by GitHub
parent 78c26e69cf
commit af28d09630
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 190 additions and 123 deletions

View 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
}