diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-03-15 18:33:31 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-03-15 18:33:31 +0000 |
commit | d2f5a95a9b6212c7f6ba462131b9d3e6aec94db5 (patch) | |
tree | be32bbac734f3ab34bb1f0dd46f83ba1dc9426cc /display.c | |
parent | [w3m-dev 03132] Re: Reload image (diff) | |
download | w3m-d2f5a95a9b6212c7f6ba462131b9d3e6aec94db5.tar.gz w3m-d2f5a95a9b6212c7f6ba462131b9d3e6aec94db5.zip |
-title support
modified [w3m-dev-en 00710] contrib: unofficial "xterm title" patch, updated for w3m-0.3
by Moritz Barsnick <barsnick@gmx.net>
* NEWS: -title
* fm.h (displayTitleTerm): added
* proto.h (term_title): added
* main.c (fusage): add -title
(MAIN): add -title
(quitfm): term_title("")
* display.c (displayBuffer): term_title()
* terms.c (title_str): added
(TERM_INFO): added
(term_info): modified from mouse_term_info
(term_info_list): modified from xterm_mouse_term
add "screen"
(set_tty): check displayTitleTerm
(term_title): added
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'display.c')
-rw-r--r-- | display.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: display.c,v 1.21 2002/03/10 15:55:15 ukai Exp $ */ +/* $Id: display.c,v 1.22 2002/03/15 18:33:32 ukai Exp $ */ #include <signal.h> #include "fm.h" @@ -383,6 +383,7 @@ displayBuffer(Buffer *buf, int mode) standout(); message(msg->ptr, buf->cursorX + buf->rootX, buf->cursorY); standend(); + term_title(buf->buffername); refresh(); #ifdef USE_IMAGE if (activeImage && displayImage && buf->img) { |