fix cursor moving

This commit is contained in:
MovingtoMars 2016-06-11 22:29:04 +12:00
parent 9acd4852c6
commit aaeeb06d42
1 changed files with 2 additions and 2 deletions

View File

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