Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh-3.0.6-pre-2: clear list
- X-seq: zsh-workers 6225
- From: Wayne Davison <wayne@xxxxxxxxx>
- To: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: zsh-3.0.6-pre-2: clear list
- Date: Thu, 06 May 1999 04:34:43 -0700
- Cc: zsh-workers@xxxxxxxxxxxxxx
- In-reply-to: wischnow's message of Tue, 04 May 1999 17:37:20 +0200. <199905041537.RAA01787@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- Sender: wayne@xxxxxxxxx
Sven Wischnowsky writes:
> --- Src/zle_refresh.c.old Tue May 4 17:06:35 1999
> +++ Src/zle_refresh.c Tue May 4 17:26:22 1999
> @@ -61,6 +61,16 @@
> static unsigned pmpt_attr = 0, /* text attributes after displaying pro
> mpt */
> rpmpt_attr = 0; /* text attributes after displaying rprompt */
>
> +/* Non-zero if a completion list was displayed. */
> +
> +/**/
> +int listshown;
> +
> +/* Non-zero if refresh() should clear the list below the prompt. */
> +
> +/**/
> +int clearlist;
> +
> /**/
> void
> resetvideo(void)
I don't think this is the right way to do this for 3.0.6. These
variables don't get prefixed with "extern" in the .pro file, and I
believe that this will fail on a system whose linker doesn't merge
duplicate data definitions. I moved these lines to globals.h (sans
the /**/ tags) and prefixed them with "EXTERN".
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author