mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:32:32 +00:00
fix(tui/clipboard): enable PNG encoder so raw image clipboard paste saves to temp .png
Clipboard reading uses arboard -> RGBA -> image::write_to(ImageFormat::Png), but the crate disabled default features on and only enabled . This meant encoding PNG failed at runtime and the paste path returned Err, so pasting raw image data appeared to do nothing. Enable the feature on for the TUI crate so we can encode the clipboard image to PNG, insert the temp path, and flash the footer notice as intended.
This commit is contained in:
@@ -41,7 +41,7 @@ codex-protocol = { path = "../protocol" }
|
||||
color-eyre = "0.6.3"
|
||||
crossterm = { version = "0.28.1", features = ["bracketed-paste"] }
|
||||
diffy = "0.4.2"
|
||||
image = { version = "^0.25.6", default-features = false, features = ["jpeg"] }
|
||||
image = { version = "^0.25.6", default-features = false, features = ["jpeg", "png"] }
|
||||
lazy_static = "1"
|
||||
libc = "0.2"
|
||||
mcp-types = { path = "../mcp-types" }
|
||||
|
||||
Reference in New Issue
Block a user