fix cursor moving
This commit is contained in:
parent
9acd4852c6
commit
aaeeb06d42
|
@ -51,7 +51,7 @@ pub trait TermWrite {
|
||||||
b'0' + (num / 100) as u8 % 10,
|
b'0' + (num / 100) as u8 % 10,
|
||||||
b'0' + (num / 10) as u8 % 10,
|
b'0' + (num / 10) as u8 % 10,
|
||||||
b'0' + num as u8 % 10,
|
b'0' + num as u8 % 10,
|
||||||
b'C'])
|
b'D'])
|
||||||
} else {
|
} else {
|
||||||
Ok(0)
|
Ok(0)
|
||||||
}
|
}
|
||||||
|
@ -64,7 +64,7 @@ pub trait TermWrite {
|
||||||
b'0' + (num / 100) as u8 % 10,
|
b'0' + (num / 100) as u8 % 10,
|
||||||
b'0' + (num / 10) as u8 % 10,
|
b'0' + (num / 10) as u8 % 10,
|
||||||
b'0' + num as u8 % 10,
|
b'0' + num as u8 % 10,
|
||||||
b'D'])
|
b'C'])
|
||||||
} else {
|
} else {
|
||||||
Ok(0)
|
Ok(0)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue