From e3d7c9cbdb7b90d35f22059308201ce5583e5695 Mon Sep 17 00:00:00 2001 From: Lutetium-Vanadium Date: Thu, 7 Jul 2022 14:02:36 +0530 Subject: [PATCH] Remove `dbg!` and bump patch Fixes issue #12 --- CHANGELOG.md | 6 ++++++ Cargo.toml | 6 +++--- requestty-macro/Cargo.toml | 2 +- requestty-ui/Cargo.toml | 2 +- requestty-ui/src/input.rs | 2 +- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0550102..48c8444 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,13 @@ # Changelog +## `0.4.1` + ## `0.4.0` +- `requestty-ui` + + - Remove `dbg!` in `Input`. Fixes #12 + The msrv has been bumped up to `1.56` - `requestty` diff --git a/Cargo.toml b/Cargo.toml index e7667a3..fdcb08c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "requestty" -version = "0.4.0" +version = "0.4.1" authors = ["Lutetium Vanadium"] edition = "2018" description = "An easy-to-use collection of interactive cli prompts" @@ -21,8 +21,8 @@ members = [ ] [dependencies] -ui = { package = "requestty-ui", path = "./requestty-ui", version = "=0.4.0" } -macro = { package = "requestty-macro", path = "./requestty-macro", optional = true, version = "=0.4.0" } +ui = { package = "requestty-ui", path = "./requestty-ui", version = "=0.4.1" } +macro = { package = "requestty-macro", path = "./requestty-macro", optional = true, version = "=0.4.1" } tempfile = "3" diff --git a/requestty-macro/Cargo.toml b/requestty-macro/Cargo.toml index 5e53c67..b5b22cf 100644 --- a/requestty-macro/Cargo.toml +++ b/requestty-macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "requestty-macro" -version = "0.4.0" +version = "0.4.1" authors = ["Lutetium Vanadium"] edition = "2018" description = "The `questions` macro for `requestty`" diff --git a/requestty-ui/Cargo.toml b/requestty-ui/Cargo.toml index 262c2bc..861694c 100644 --- a/requestty-ui/Cargo.toml +++ b/requestty-ui/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "requestty-ui" -version = "0.4.0" +version = "0.4.1" authors = ["Lutetium Vanadium"] edition = "2018" description = "A widget based terminal ui rendering library." diff --git a/requestty-ui/src/input.rs b/requestty-ui/src/input.rs index 219ae8c..33d223d 100644 --- a/requestty-ui/src/input.rs +++ b/requestty-ui/src/input.rs @@ -122,7 +122,7 @@ impl Input { } fn update_size(&mut self) -> io::Result<()> { - self.size = dbg!(self.backend.size())?; + self.size = self.backend.size()?; if self.size.area() == 0 { Err(io::Error::new( io::ErrorKind::Other,