On Fri, Apr 29, 2011 at 13:59, Alexander Shulgin <alex.shul...@gmail.com> wrote: > Hello fellow sup users, > > I'd like sup to display the count of unread messages in the terminal > window's titlebar like this: "Sup 0.11 :: Inbox (1)". Currently it > only displays "Sup 0.11 :: Inbox".
And here's what I could find. There's a hook to set the window title, called .sup/hooks/terminal-title-text.rb. I can get close to what I want with this: ("Sup 0.11 :: #{title}" + (num_inbox_unread > 0 ? "(#{num_inbox_unread})" : "")) if mode == "inbox-mode" However, I'd like to avoid hard-coding the "Sup #{version_here}" part, or at least use some variable. Also, there's a bug with manually changing (un)read status of a thread: the unread count first goes to 1, and only on next keystroke it's updated to reflect that the whole thread's unread. The same is when marking a whole thread read... -- Alex _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk