From aaeeb06d429de39c3c001e71541a0ec6319c4d19 Mon Sep 17 00:00:00 2001 From: MovingtoMars Date: Sat, 11 Jun 2016 22:29:04 +1200 Subject: [PATCH] fix cursor moving --- src/control.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/control.rs b/src/control.rs index 1899b1d..56f1e0a 100644 --- a/src/control.rs +++ b/src/control.rs @@ -51,7 +51,7 @@ pub trait TermWrite { b'0' + (num / 100) as u8 % 10, b'0' + (num / 10) as u8 % 10, b'0' + num as u8 % 10, - b'C']) + b'D']) } else { Ok(0) } @@ -64,7 +64,7 @@ pub trait TermWrite { b'0' + (num / 100) as u8 % 10, b'0' + (num / 10) as u8 % 10, b'0' + num as u8 % 10, - b'D']) + b'C']) } else { Ok(0) }