w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 39d8f992c426df144417fd3e42227105b6d13084
parent acec9f5bd8fecd597cae23cd8ac697fa2865dcf5
Author: ukai <ukai>
Date:   Mon, 18 Nov 2002 16:46:48 +0000

[w3m-dev 03445] download list for "w3m foo.tar.gz"
* main.c (main): display download list
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>

Diffstat:
MChangeLog | 5+++++
Mmain.c | 15+++++++++++++++
2 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -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 diff --git a/main.c b/main.c @@ -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)