From mboxrd@z Thu Jan 1 00:00:00 1970 From: marcus-sup@bar-coded.net (Marcus Williams) Date: Tue, 06 Nov 2007 15:05:28 +0000 Subject: [sup-talk] [PATCH] xterm title In-Reply-To: <1194356217-sup-6416@tomsk> References: <1194356217-sup-6416@tomsk> Message-ID: <1194361216-sup-2140@tomsk> On 6.11.2007, Marcus Williams wrote: > 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 :) 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