Fix terminal goto control sequence building

pull/1714/head
SewerynKaminski 2019-08-22 18:13:12 +02:00 committed by Alexander Medvednikov
parent 780ddaf22b
commit c8da79d785
1 changed files with 1 additions and 1 deletions

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