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

28 Commits

Author SHA1 Message Date
Uwe Krüger
3c0a368af3
all: automatically move (some) referenced objects to heap (#9873) 2021-04-25 21:40:38 +03:00
Lukas Neubert
16e79bc3ca
tools: format most examples and tutorials, add them to v test-cleancode (#9826) 2021-04-20 17:16:35 +03:00
spaceface
b712af56fd
all: bring back panic(err.msg) -> panic(err) (#9022) 2021-03-01 00:18:14 +01:00
spaceface
d63b7bc35a
all: update repo to use the new error handling syntax (#8950) 2021-02-28 23:20:21 +03:00
spaceface
260f677469
term.ui: use the new [flag] enums (#8881) 2021-02-21 16:07:49 +02:00
Nick Treleaven
ea803113c3
checker: check unsafe V function calls (#8752) 2021-02-14 19:31:42 +01:00
Delyan Angelov
32cc95a340
test-cleancode: check some of the examples too 2021-02-04 17:34:59 +02:00
spaceface
e233911a7b
term.ui: native Windows console implementation (#8359) 2021-01-27 13:52:39 +01:00
Delyan Angelov
e5a84719ca
all: require calling optfn() ? / optfn() or {...} for fn optfn() ? {} 2021-01-26 16:43:17 +02:00
Daniel Däschle
dbf84520f1
all: update assoc syntax (#8274) 2021-01-22 23:24:48 +01:00
yuyi
a1c67232d0
checker: fix duplicate variable name (fix #265) (#7982) 2021-01-10 21:41:29 +01:00
nyx-litenite
36240b2284
examples: term.ui: vyper (a simple snake game) (#6943) 2020-11-27 20:55:53 +01:00
spaceface777
e03ae19372
term.ui: approximate colors into ansi if rgb isn't supported (#6951) 2020-11-26 00:28:57 +01:00
Larpon
4a31b5702e
examples: term.ui: add readme, copyright, and pong screenshot (#6858) 2020-11-17 17:41:54 +01:00
Larpon
f44853a87f
examples: term.ui - add a pong clone (#6857) 2020-11-17 15:25:41 +01:00
Larpon
0c54ebdf41
text_editor: add magnet cursor position (#6843) 2020-11-16 14:51:39 +02:00
Delyan Angelov
c8b7cfc297 examples: small fix for ctrl-right at the last word of a line 2020-11-15 14:49:55 +02:00
spaceface777
dcbb285ae4
examples: text editor: implement ctrl+arrows to move by word (#6838) 2020-11-15 13:33:08 +01:00
spaceface777
1ead130eed
term.ui: render to the alternate buffer (#6832) 2020-11-14 21:05:22 +02:00
Carlos Esquerdo Bernat
827fb62c29
examples/text_editor: edit multiple files (#6827) 2020-11-14 19:39:59 +02:00
spaceface777
ec3b96924f
examples/text_editor: make scrolling smoother (#6819) 2020-11-14 09:21:46 +02:00
spaceface777
6b47c61fe4
term.ui: handle middle mouse button events and modifier keys (#6821) 2020-11-14 09:14:54 +02:00
spaceface777
eacd6b5d54
examples/text_editor: minor cleanup and simplifications (#6818) 2020-11-13 19:18:05 +02:00
Larpon
b02f03e20a
examples: add a simple text editor example to term.ui (#6808) 2020-11-13 15:27:12 +01:00
spaceface777
c315218ed1
term.ui: allow setting the terminal title (#6809) 2020-11-13 15:30:47 +02:00
Delyan Angelov
a3404a38c6 term_drawing.v: support arrows, 1, 2 and space 2020-11-13 13:08:28 +02:00
pancake
862cae5b02
term: handle keyboard keys in the term_drawing example (#6810) 2020-11-13 11:49:09 +02:00
spaceface777
24f743ee12
term: add term.ui module (part 2) (#6798) 2020-11-12 12:12:51 +01:00