Skip to content

Commit

Permalink
build: update ratatui to v0.27 (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
DieracDelta authored Jun 28, 2024
1 parent b5fc5ca commit 42910cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,12 @@ debug = true
lto = true

[dependencies]
ratatui = { version = "0.26", default-features = false }
ratatui = { version = "0.27", default-features = false }
unicode-width = "0.1"

[dev-dependencies]
criterion = "0.5"
crossterm = "0.27"
ratatui = "0.26"
ratatui = "0.27"

[target.'cfg(target_family = "unix")'.dev-dependencies]
pprof = { version = "0.13", features = ["criterion", "flamegraph"] }
Expand Down
4 changes: 2 additions & 2 deletions examples/example.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
use std::time::{Duration, Instant};

use crossterm::event::{Event, KeyCode, KeyModifiers, MouseEventKind};
use ratatui::backend::{Backend, CrosstermBackend};
use ratatui::crossterm::event::{Event, KeyCode, KeyModifiers, MouseEventKind};
use ratatui::layout::{Position, Rect};
use ratatui::style::{Color, Modifier, Style};
use ratatui::text::Span;
use ratatui::widgets::{Block, Scrollbar, ScrollbarOrientation};
use ratatui::{Frame, Terminal};
use ratatui::{crossterm, Frame, Terminal};
use tui_tree_widget::{Tree, TreeItem, TreeState};

#[must_use]
Expand Down

0 comments on commit 42910cb

Please sign in to comment.