mirror of
https://github.com/wez/wezterm.git
synced 2024-09-11 14:25:57 +03:00
allow multiple placements for p=0
This commit is contained in:
parent
47f647cadc
commit
81b3b69520
@ -101,7 +101,11 @@ impl TerminalState {
|
||||
verbosity
|
||||
);
|
||||
if image_id != 0 {
|
||||
self.kitty_remove_placement(image_id, placement.placement_id);
|
||||
if let Some(place_id) = placement.placement_id {
|
||||
if place_id != 0 {
|
||||
self.kitty_remove_placement(image_id, placement.placement_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
let img = Arc::clone(self.kitty_img.id_to_data.get(&image_id).ok_or_else(|| {
|
||||
anyhow::anyhow!(
|
||||
|
Loading…
Reference in New Issue
Block a user