diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-18 16:46:48 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-18 16:46:48 +0000 |
commit | c2b1e4fa7051ef65ca23ca978727578ce86dbeff (patch) | |
tree | 48879c7bc487234265fed9b6f9eea1d1b30bc478 | |
parent | [w3m-dev 03443] Can't display "echo only_one_line | w3m" (diff) | |
download | w3m-c2b1e4fa7051ef65ca23ca978727578ce86dbeff.tar.gz w3m-c2b1e4fa7051ef65ca23ca978727578ce86dbeff.zip |
[w3m-dev 03445] download list for "w3m foo.tar.gz"
* main.c (main): display download list
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | main.c | 17 |
2 files changed, 22 insertions, 2 deletions
@@ -1,5 +1,10 @@ 2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + * [w3m-dev 03445] download list for "w3m foo.tar.gz" + * main.c (main): display download list + +2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + * [w3m-dev 03443] Can't display "echo only_one_line | w3m" * display.c (redrawNLine): check 1st line @@ -4831,4 +4836,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.527 2002/11/18 16:42:12 ukai Exp $ +$Id: ChangeLog,v 1.528 2002/11/18 16:46:48 ukai Exp $ @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.140 2002/11/15 16:46:12 ukai Exp $ */ +/* $Id: main.c,v 1.141 2002/11/18 16:46:52 ukai Exp $ */ #define MAINPROGRAM #include "fm.h" #include <signal.h> @@ -927,6 +927,21 @@ main(int argc, char **argv, char **envp) w3m_exit(0); } + if (add_download_list) { + add_download_list = FALSE; + if (!FirstTab) { + FirstTab = LastTab = CurrentTab = newTab(); + nTab = 1; + } + if (!Firstbuf || Firstbuf == NO_BUFFER) { + Firstbuf = Currentbuf = newBuffer(INIT_BUFFER_WIDTH); + Currentbuf->bufferprop = BP_INTERNAL | BP_NO_URL; + Currentbuf->buffername = DOWNLOAD_LIST_TITLE; + } + else + Currentbuf = Firstbuf; + ldDL(); + } if (!FirstTab || !Firstbuf || Firstbuf == NO_BUFFER) { if (newbuf == NO_BUFFER) { if (fmInitialized) |