Skip to content

Commit

Permalink
[IT-23] upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Shvyryalkin committed Dec 14, 2024
1 parent 05cc6e1 commit e3f7337
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 15 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion examples/custom_bindings/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "custom_bindings"
version = "0.5.0"
version = "0.5.1"
edition = "2021"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/fonts/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fonts"
version = "0.5.0"
version = "0.5.1"
edition = "2021"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/full_screen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "full_screen"
version = "0.5.0"
version = "0.5.1"
edition = "2021"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/split_view/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "split_view"
version = "0.5.0"
version = "0.5.1"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion examples/themes/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "themes"
version = "0.5.0"
version = "0.5.1"
edition = "2021"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ mod terminal;
mod theme;
mod view;

pub use alacritty_terminal::term::TermMode;
pub use alacritty_terminal::event::Event as AlacrittyEvent;
pub use alacritty_terminal::term::TermMode;
pub use subscription::Subscription;
pub use terminal::{Command, Event, Terminal};
pub use theme::{ColorPalette, Theme};
Expand Down
1 change: 0 additions & 1 deletion src/subscription.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ impl Subscription {
});
},
None => {
println!("None");
if !shutdown {
panic!("iced_term stream {}: terminal event channel closed unexpected", term_id);
}
Expand Down
4 changes: 2 additions & 2 deletions src/view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub struct TerminalView<'a> {
}

impl<'a> TerminalView<'a> {
pub fn show(term: &'a Terminal) -> Element<'_, Event> {
pub fn show(term: &'a Terminal) -> Element<'a, Event> {
container(Self { term })
.width(Length::Fill)
.height(Length::Fill)
Expand Down Expand Up @@ -368,7 +368,7 @@ impl<'a> TerminalView<'a> {
}
}

impl<'a> Widget<Event, Theme, iced::Renderer> for TerminalView<'a> {
impl Widget<Event, Theme, iced::Renderer> for TerminalView<'_> {
fn size(&self) -> Size<Length> {
Size {
width: Length::Fill,
Expand Down

0 comments on commit e3f7337

Please sign in to comment.