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

remove os/time references from live programs, fix warnings

This commit is contained in:
Delyan Angelov
2019-12-09 17:53:17 +02:00
committed by Alexander Medvednikov
parent 8082a5e7f4
commit 32b0225079
6 changed files with 52 additions and 34 deletions

View File

@@ -2,7 +2,6 @@
// v -live message.v
module main
import os
import time
[live]
@@ -11,7 +10,6 @@ fn print_message() {
}
fn main() {
os.clear()
for {
print_message()
time.sleep_ms(500)