Commit 6ac43395 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

0.4.2 - fix cursor before printing char

parent a74e5c0b
......@@ -2,7 +2,7 @@
name = "ransid"
description = "Rust ANSI Driver"
repository = "https://github.com/jackpot51/ransid"
version = "0.4.1"
version = "0.4.2"
license-file = "LICENSE"
readme = "README.md"
keywords = ["redox", "ansi"]
......
......@@ -181,6 +181,7 @@ impl State {
}
pub fn print<F: FnMut(Event)>(&mut self, c: char, callback: &mut F) {
self.fix_cursor(callback);
self.block(c, callback);
self.x += 1;
self.fix_cursor(callback);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment