hannesm / jackline

minimalistic secure XMPP client in OCaml
BSD 2-Clause "Simplified" License
251 stars 20 forks source link

reset notification.state when terminal is activated/focussed #57

Closed hannesm closed 9 years ago

hannesm commented 9 years ago

currently clear is only done when the user moves the cursor in the buddy list (activating contact). would be fancy if it is cleared when the active contact is the only one with awaiting notifications and the window/terminal gets activated. but couldn't find an API/callback registration for this.

cfcs commented 9 years ago

Had a chance to look at this?

https://github.com/hannesm/jackline/pull/58

hannesm commented 9 years ago

now solving this using a urgency hint inside of the notification_callback shell script