patch bd7e29cb071eb7be716e9bb785540882402845f3
Author: Enrique D. Bosch <presidev@AT@gmail.com>
Date:   Wed Sep  5 19:21:16 CEST 2018
  * Set icon to hourglass when checking mail (searching) and waiting for logout
diff -rN -u old-idlebiff/idlebiff new-idlebiff/idlebiff
--- old-idlebiff/idlebiff	2025-10-31 04:38:23.549561398 +0100
+++ new-idlebiff/idlebiff	2025-10-31 04:38:23.549561398 +0100
@@ -348,8 +348,10 @@
 proc cleanup con \
 {
   variable ::shared::ka
+  variable ::shared::img_chk
   variable ::shared::idle
 
+  update_img $img_chk
   after cancel $ka
   if { $idle } \
   {
@@ -391,7 +393,9 @@
 proc do_search con \
 {
   variable ::shared::search
+  variable ::shared::img_chk
 
+  update_img $img_chk
   imap_command_tagged $con $search
 }