Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] [PATCH] xterm title
@ 2007-11-06 13:39 Marcus Williams
  2007-11-06 15:05 ` Marcus Williams
  0 siblings, 1 reply; 2+ messages in thread
From: Marcus Williams @ 2007-11-06 13:39 UTC (permalink / raw)


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 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [sup-talk] [PATCH] xterm title
  2007-11-06 13:39 [sup-talk] [PATCH] xterm title Marcus Williams
@ 2007-11-06 15:05 ` Marcus Williams
  0 siblings, 0 replies; 2+ messages in thread
From: Marcus Williams @ 2007-11-06 15:05 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-06 15:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-06 13:39 [sup-talk] [PATCH] xterm title Marcus Williams
2007-11-06 15:05 ` Marcus Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox