Commit f1f29a01 authored by Moritz Sokoll's avatar Moritz Sokoll 🦀
Browse files

fixed more cursor stuff

parent c136c8f2
[package]
name = "btui"
version = "0.4.4"
version = "0.4.5"
edition = "2018"
authors = ["Moritz Sokoll <moritz@sokoll.com>"]
license = "MIT"
......
......@@ -5,7 +5,7 @@
## Usage
Add this to your `Cargo.toml` dependency list:
```toml
btui = "0.4.4"
btui = "0.4.5"
```
## Features
This crate supports some different features:
......
......@@ -4,7 +4,7 @@
//! with btui you can create beautiful text user interfaces for the terminal.
//! To get started add `btui` as a dependency to your project:
//! ```toml
//! btui = "0.4.4"
//! btui = "0.4.5"
//! ```
#[cfg(feature = "core")]
......
......@@ -44,7 +44,7 @@ pub mod console {
CursorControl::Left(n) => format!("\x1b[{}D", n),
CursorControl::Right(n) => format!("\x1b[{}C", n),
CursorControl::Col(n) => format!("\x1b[{}G", n),
CursorControl::Up(n) => format!("\x1b[{}A"),
CursorControl::Up(n) => format!("\x1b[{}A", n),
CursorControl::Down(n) => format!("\x1b[{}B", n),
CursorControl::Pos(x, y) => format!("\x1b[{};{}H", x, y),
};
......
Markdown is supported
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