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:
committed by
Alexander Medvednikov
parent
8082a5e7f4
commit
32b0225079
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user