chore: update dependencies

Also switches `alacritty_terminal` to use the crate version, rather than an old git commit.
This commit is contained in:
Vukašin Vojinović 2025-11-06 12:33:54 +01:00
parent d20dbadd02
commit 034435273c
5 changed files with 117 additions and 125 deletions

View file

@ -1033,7 +1033,7 @@ impl App {
.spacing(space_xxxs)
.into(),
widget::horizontal_space().into(),
widget::toggler(profile.hold)
widget::toggler(profile.drain_on_exit)
.on_toggle(move |t| Message::ProfileHold(profile_id, t))
.into(),
])
@ -1309,7 +1309,7 @@ impl App {
let options = tty::Options {
shell,
working_directory,
hold: profile.hold,
drain_on_exit: profile.drain_on_exit,
env: HashMap::new(),
};
let tab_title_override = if profile.tab_title.is_empty() {
@ -2252,9 +2252,9 @@ impl Application for App {
Message::ProfileExpand(profile_id) => {
self.profile_expanded = Some(profile_id);
}
Message::ProfileHold(profile_id, hold) => {
Message::ProfileHold(profile_id, drain_on_exit) => {
if let Some(profile) = self.config.profiles.get_mut(&profile_id) {
profile.hold = hold;
profile.drain_on_exit = drain_on_exit;
return self.save_profiles();
}
}