Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
redox-os
ransid
Commits
6ac43395
Commit
6ac43395
authored
Nov 09, 2017
by
Jeremy Soller
Browse files
0.4.2 - fix cursor before printing char
parent
a74e5c0b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Cargo.toml
View file @
6ac43395
...
...
@@ -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"
]
...
...
src/lib.rs
View file @
6ac43395
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment