1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/examples
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
..
2020-06-16 12:27:47 +02:00
2020-06-04 20:26:18 +02:00
2020-07-24 13:29:47 +03:00
2020-06-02 16:09:41 +02:00
2020-04-28 13:57:48 +02:00
2020-05-13 15:51:17 +03:00
2020-03-21 09:47:38 +01:00
2020-05-22 17:36:09 +02:00
2020-03-21 09:47:38 +01:00
2020-03-21 09:47:38 +01:00
2020-05-17 13:51:18 +02:00
2020-04-06 17:22:53 +02:00
2020-08-23 16:18:37 +02:00
2020-07-24 13:29:47 +03:00
2019-07-01 17:36:23 +02:00
2020-06-04 10:35:40 +02:00