Initial project import
This commit is contained in:
commit
23f2d29e32
11957 files changed
+1754577
No files matched your search
@@ -0,0 +1,12 @@
|
||||
import os
|
||||
|
||||
println('Press Ctrl+D(Linux) or Ctrl+Z(Windows) at line begin to exit')
|
||||
mut i := 0
|
||||
for {
|
||||
i += 1
|
||||
mut line := os.get_raw_line()
|
||||
if line.len == 0 {
|
||||
break
|
||||
}
|
||||
println('${i}: ${line}')
|
||||
}
|
||||
Reference in new issue
Block a user