mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
Fix terminal goto control sequence building
This commit is contained in:
parent
780ddaf22b
commit
c8da79d785
@ -18,7 +18,7 @@ module term
|
||||
// x is the x coordinate
|
||||
// y is the y coordinate
|
||||
pub fn set_cursor_position(x int,y int) {
|
||||
print('\x1b[$y;$x;H')
|
||||
print('\x1b[$y;$x'+'H')
|
||||
}
|
||||
|
||||
// n is number of cells
|
||||
|
Loading…
Reference in New Issue
Block a user