1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib
bpryer 3f7970db52
term: add get_cursor_position and set_terminal_title (#6279)
* added functions

added:
  - get_cursor_position()
  - set_terminal_title(title string)

* implement term.get_cursor_position and term.set_terminal_title on unix

* Cleanup

* make x,y fields of term.Coord mutable

* fix vrepl compilation

* use more descriptive var names in term_test.v

* do not change the current terminal title in dumb terminals; do not test term.set_terminal_title outside of CI

* unix: in term.set_terminal_title, return true even for dumb terminals

Co-authored-by: Brent Pryer <brent@pryermachine.com>
Co-authored-by: Delyan Angelov <delian66@gmail.com>
2020-09-08 22:00:10 +03:00
..
arrays arrays: common methods - min, max, idx_min, idx_max, shuffle, merge (#6177) 2020-09-07 13:50:53 +02:00
benchmark
bitfield
builtin builtin: fix in for various numeric types (#6311) 2020-09-06 12:45:02 +02:00
cli
clipboard
crypto
darwin
dl
encoding
eventbus
flag
fontstash
gg
glm
gx
hash
io io: introduce a go-like io.util module (#6323) 2020-09-08 14:17:01 +02:00
json
live
log
math
mysql
net autofree: lots of fixes 2020-09-05 12:00:35 +02:00
orm
os os: fix os.mv edge case and Windows style paths (#6302) 2020-09-06 13:12:07 +02:00
os2
pg
picoev
picohttpparser
rand
readline term: add get_cursor_position and set_terminal_title (#6279) 2020-09-08 22:00:10 +03:00
regex cc: add support for tcc backend on windows-i386 (#6297) 2020-09-08 15:15:35 +02:00
runtime
sokol
sqlite
stbi
strconv
strings
sync fmt: add support for chan types and operations (#6328) 2020-09-08 00:36:05 +02:00
szip szip: make compile (#6314) 2020-09-06 15:04:27 +02:00
term term: add get_cursor_position and set_terminal_title (#6279) 2020-09-08 22:00:10 +03:00
time
v checker: simplify argument qualifier errors (#6321) 2020-09-08 19:34:17 +02:00
vweb vweb: hide debug prints 2020-08-31 19:39:46 +02:00
x cc: add support for tcc backend on windows-i386 (#6297) 2020-09-08 15:15:35 +02:00
.vdocignore