mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vlib: prepare modules hash
and term
for -Wimpure-v
This commit is contained in:
@@ -117,7 +117,7 @@ fn supports_escape_sequences(fd int) bool {
|
||||
// clear clears current terminal screen.
|
||||
pub fn clear() {
|
||||
$if !windows {
|
||||
C.printf('\x1b[2J')
|
||||
C.printf('\x1b[H')
|
||||
print('\x1b[2J')
|
||||
print('\x1b[H')
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user