Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 4361066

Browse files
authored
Use interact() instead of interact_text() to not fail for special characters (#136)
* Use `interact()` instead of `interact_text()` * Bump the beta version * Bump the beta version in Cargo.lock
1 parent dc572df commit 4361066

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cli-wallet"
3-
version = "1.0.0-beta.3"
3+
version = "1.0.0-beta.4"
44
authors = [ "IOTA Stiftung" ]
55
edition = "2021"
66
homepage = "https://iota.org"

src/account.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pub async fn account_prompt_internal(account_handle: AccountHandle) -> Result<bo
3333
};
3434
let command: String = Input::new()
3535
.with_prompt(format!("Account \"{}\"", alias))
36-
.interact_text()?;
36+
.interact()?;
3737

3838
match command.as_str() {
3939
"h" => {

0 commit comments

Comments
 (0)