mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
Revert "term: obtain the cursor position via termios.h (#11372)"
This reverts commit af28d09630.
This commit is contained in:
@@ -7,6 +7,18 @@
|
||||
//
|
||||
module readline
|
||||
|
||||
// Termios stores the terminal options on Linux.
|
||||
struct C.termios {}
|
||||
|
||||
struct Termios {
|
||||
mut:
|
||||
c_iflag int
|
||||
c_oflag int
|
||||
c_cflag int
|
||||
c_lflag int
|
||||
c_cc [12]int // NCCS == 12. Can't use the defined value here
|
||||
}
|
||||
|
||||
// Winsize stores the screen information on Linux.
|
||||
struct Winsize {
|
||||
ws_row u16
|
||||
|
||||
Reference in New Issue
Block a user