Skip to content

Instantly share code, notes, and snippets.

View botiapa's full-sized avatar

killswitch botiapa

View GitHub Profile
@botiapa
botiapa / multi_window_bug.rs
Created October 11, 2025 12:35
Iced multi-window top-level update issue
use iced::widget::text_input;
use iced::{Element, Task};
use iced::{Function, window};
use std::collections::HashMap;
fn main() -> iced::Result {
iced::daemon(Example::new, Example::update, Example::view)
.subscription(|_| window::frames().map(Message::FrameRequested))
.run()
}