1
0
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:
AAAA
2021-09-06 14:24:39 +00:00
committed by GitHub
parent 78c26e69cf
commit af28d09630
19 changed files with 190 additions and 123 deletions

View File

@ -18,10 +18,9 @@ pub fn (c Color) hex() string {
// Synchronized Updates spec, designed to avoid tearing during renders
// https://gitlab.com/gnachman/iterm2/-/wikis/synchronized-updates-spec
const (
bsu = '\x1bP=1s\x1b\\'
esu = '\x1bP=2s\x1b\\'
)
const bsu = '\x1bP=1s\x1b\\'
const esu = '\x1bP=2s\x1b\\'
// write puts the string `s` into the print buffer.
[inline]