1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

17 Commits

Author SHA1 Message Date
Lukas Neubert
8b61891348
fmt: smarter if condition wrapping (#8201) 2021-01-23 10:33:22 +02:00
Delyan Angelov
3ee78dc961
term: add term.colorize/2, use it in the tests. Support ConEmuANSI = ON too. 2021-01-17 19:09:29 +02:00
Daniel Däschle
a22982d662
tests: colorize failing tests, improve layout (#8066) 2021-01-13 11:07:12 +02:00
Delyan Angelov
3064fff95b
vlib: prepare modules hash and term for -Wimpure-v 2020-12-15 09:11:17 +02:00
Alexander Medvednikov
7da1afa140 all: switch to the new fn arg syntax everywhere; add lots of vfmt -verify tests 2020-10-15 12:32:28 +02:00
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
Delyan Angelov
346cc5ca2c term: fix panic in term.header, when cols,rows from get_terminal_size are < 2 2020-07-24 08:34:39 +03:00
pancake
b7bdb97f7d
term: fix crash in header when divider.len < 2 (#5956) 2020-07-23 18:54:29 +02:00
Swastik Baranwal
72b09d4794
term: add clear 2020-06-19 17:15:41 +02:00
Alexander Medvednikov
ed58192e4c v orm: select 2020-06-17 00:59:37 +02:00
yuyi
dda875a9c8
all: unify const names to snake_case 2020-05-22 17:36:09 +02:00
Delyan Angelov
4b347ff148 v self: force the subprocess to show colors 2020-05-08 19:04:24 +03:00
Delyan Angelov
e10290eb8e tests: make the SKIP and FAIL labels more distinctive 2020-04-08 18:42:05 +03:00
Daniel Däschle
a61654009f
tests: change skip color to yellow instead of red 2020-04-08 16:52:40 +02:00
Major Taylor
5c9cbae10d
term: fix divide by 0 error on empty delimiter 2020-03-23 20:05:08 +01:00
Don Alfons Nisnoni
36e636743b
term: header() 2020-02-07 18:46:20 +01:00
Alexey
5c598a3085
term: reorganize the module 2020-01-29 05:12:12 +01:00