[links-list] toggle "Display links to images"

Goran Koruga goran.koruga at hermes.si
Thu Aug 31 01:13:20 PDT 2000


On Thu, Aug 31 2000, Peter Wang wrote:

Hola,

I wanted this too but was always too lazy to look into it. I will first try
to figure out weird "open in new xterm" behaviour. Ohh Lynx has this bound to
'*' key so that may make more sense.

Thanks,
Goran

> Attached is something *really* simple that's been on my wishlist for
> a while, so I decided to get off my butt and implement it.  Maybe
> someone else will like it.  It allows you to toggle the "Display
> links to images" option with the `-' key (arbitrary choice).
> 
> -- 
> tjaden at psynet.net - http://www.psynet.net/tjaden/
> Slurm, n.:  The slime that accumulates on the underside of a soap bar
>   when it sits in the dish too long.  -- Rich Hall, "Sniglets"

> diff -ur links-0.92/view.c links-toggle/view.c
> --- links-0.92/view.c	Sun Jun 18 19:56:17 2000
> +++ links-toggle/view.c	Thu Aug 31 18:57:26 2000
> @@ -1990,6 +1990,12 @@
>  			state_msg(ses);
>  			goto x;
>  		}
> +		if (ev->x == '-') {
> +			ses->ds.images = !ses->ds.images;
> +			html_interpret(ses);
> +			draw_formatted(ses);
> +			goto x;
> +		}
>  		if (ev->x == '\\') {
>  			toggle(ses, ses->screen, 0);
>  			goto x;
> 

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: links-unsubscribe at appwatch.com
> For additional commands, e-mail: links-help at appwatch.com
> Visit AppWatch at http://appwatch.com for the latest apps


--

Writing about music is like dancing about architecture.
    -- Frank Zappa 

---------------------------------------------------------------------
To unsubscribe, e-mail: links-unsubscribe at appwatch.com
For additional commands, e-mail: links-help at appwatch.com
Visit AppWatch at http://appwatch.com for the latest apps




More information about the links-list mailing list