mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
live: Fix MSVC hot code reloading (#2460)
This commit is contained in:

committed by
joe-conigliaro

parent
333f0ab89f
commit
2829298de7
@ -660,8 +660,10 @@ pub fn write_file(path, text string) {
|
||||
}
|
||||
|
||||
pub fn clear() {
|
||||
C.printf('\x1b[2J')
|
||||
C.printf('\x1b[H')
|
||||
$if !windows {
|
||||
C.printf('\x1b[2J')
|
||||
C.printf('\x1b[H')
|
||||
}
|
||||
}
|
||||
|
||||
fn on_segfault(f voidptr) {
|
||||
|
Reference in New Issue
Block a user