Skip to content

Commit

Permalink
fix: replace tui dependency with ratatui
Browse files Browse the repository at this point in the history
  • Loading branch information
therustmonk committed Aug 22, 2023
1 parent 61b436c commit 330109c
Show file tree
Hide file tree
Showing 24 changed files with 185 additions and 230 deletions.
171 changes: 63 additions & 108 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions applications/minotari_console_wallet/Cargo.toml
Expand Up @@ -32,7 +32,7 @@ bitflags = "1.2.1"
chrono = { version = "0.4.19", default-features = false }
clap = { version = "3.2", features = ["derive", "env"] }
config = "0.13.0"
crossterm = { version = "0.25.0" }
crossterm = { version = "0.27.0" }
digest = "0.10"
futures = { version = "^0.3.16", default-features = false, features = ["alloc"] }
log4rs = { git = "https://github.com/tari-project/log4rs.git", default_features = false, features = ["config_parsing", "threshold_filter", "yaml_format", "console_appender", "rolling_file_appender", "compound_policy", "size_trigger", "fixed_window_roller", "delete_roller"] }
Expand Down Expand Up @@ -62,8 +62,8 @@ path = "../../base_layer/core"
default-features = false
features = ["transactions", "mempool_proto", "base_node_proto"]

[dependencies.tui]
version = "^0.16"
[dependencies.ratatui]
version = "^0.22"
default-features = false
features = ["crossterm"]

Expand Down
6 changes: 3 additions & 3 deletions applications/minotari_console_wallet/src/ui/app.rs
Expand Up @@ -21,13 +21,13 @@
// USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

use minotari_wallet::{util::wallet_identity::WalletIdentity, WalletConfig, WalletSqlite};
use tari_comms::peer_manager::Peer;
use tokio::runtime::Handle;
use tui::{
use ratatui::{
backend::Backend,
layout::{Constraint, Direction, Layout},
Frame,
};
use tari_comms::peer_manager::Peer;
use tokio::runtime::Handle;

use crate::{
notifier::Notifier,
Expand Down

0 comments on commit 330109c

Please sign in to comment.