1
0
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:
SewerynKaminski 2019-08-22 18:13:12 +02:00 committed by Alexander Medvednikov
parent 780ddaf22b
commit c8da79d785

View File

@ -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