From 36e6a90fdba3ca2ce672a6bb1fbad540b4c9e777 Mon Sep 17 00:00:00 2001 From: Justin Do Date: Sat, 6 Jul 2024 12:59:45 +0700 Subject: [PATCH] update event on window --- ui/window.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/window.go b/ui/window.go index c43228c04..d4b72504c 100644 --- a/ui/window.go +++ b/ui/window.go @@ -192,7 +192,7 @@ func (win *Window) HandleEvents() { // Create window chan event and listen events from window event events := make(chan event.Event) - acks := make(chan struct{}) + acks := make(chan struct{}, 2) go func() { for { ev := win.Event()