mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 05:12:40 +03:00
cargo update
We need a newer version of ring in order to compile on M1 refs: #343
This commit is contained in:
parent
bbb953610d
commit
e86d949dae
980
Cargo.lock
generated
980
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -21,6 +21,7 @@ use mux::window::WindowId;
|
||||
use portable_pty::{CommandBuilder, PtySize};
|
||||
use rangeset::*;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use smol::io::AsyncWriteExt;
|
||||
use smol::prelude::*;
|
||||
use std::convert::TryInto;
|
||||
use std::io::Cursor;
|
||||
|
@ -168,8 +168,6 @@ impl TextStyle {
|
||||
font.push(FontAttributes::new_fallback("Apple Symbols"));
|
||||
#[cfg(target_os = "macos")]
|
||||
font.push(FontAttributes::new_fallback("Zapf Dingbats"));
|
||||
#[cfg(target_os = "macos")]
|
||||
font.push(FontAttributes::new_fallback("Apple LiGothic"));
|
||||
|
||||
// Fallback font that has unicode replacement character
|
||||
#[cfg(windows)]
|
||||
|
@ -296,7 +296,7 @@ impl<T: Texture2d> GlyphCache<T> {
|
||||
return Ok(sprite.clone());
|
||||
}
|
||||
|
||||
let decoded_image = image::load_from_memory(image_data.data())?.to_bgra();
|
||||
let decoded_image = image::load_from_memory(image_data.data())?.to_bgra8();
|
||||
let (width, height) = decoded_image.dimensions();
|
||||
let image = ::window::bitmaps::Image::from_raw(
|
||||
width as usize,
|
||||
|
@ -968,7 +968,7 @@ impl TermWindow {
|
||||
fn apply_icon(window: &Window) -> anyhow::Result<()> {
|
||||
let icon_image =
|
||||
image::load_from_memory(include_bytes!("../../../assets/icon/terminal.png"))?;
|
||||
let image = icon_image.to_bgra();
|
||||
let image = icon_image.to_bgra8();
|
||||
let (width, height) = image.dimensions();
|
||||
window.set_icon(Image::from_raw(
|
||||
width as usize,
|
||||
|
Loading…
Reference in New Issue
Block a user