Subject: [sup-talk] [PATCH] xterm title

From: [email-masked] (Marcus Williams)
Date: Tue, 06 Nov 2007 13:39:49 +0000

Not sure what this will do if you're not running in a capable term
client (and I'm not sure how to check!), but this patch adds makes the
status line in sup appear in the title bar of your terminal (as well
as the usual place at the bottom of the screen). Useful if you have
multiple terminals open :)

Marcus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xterm-title
Type: application/octet-stream
Size: 421 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071106/ed7c0e9f/attachment.obj

---

From: [email-masked] (Marcus Williams)
Date: Tue, 06 Nov 2007 15:05:28 +0000

> multiple terminals open :)

If this gets applied, it would actually be more useful to display a
new message count in front of the status line. I havnt had time to
look to see if I can get the new message count somehow from within
buffer.rb though.

Something like:

Sup/0.2 - (3 new) [inbox-mode] ..........

It needs to be at the front of the status line because then its
visible in the title bar. I think it can be added somewhere in one of
the mode classes but I'm not sure how to get the number of new
messages short of searching for all messages tagged wth :unread.

If theres a way of doing this thats quick I'll resubmit the patch.

Marcus