From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (euclid.skiles.gatech.edu [130.207.146.50]) by werple.net.au (8.7/8.7.1) with ESMTP id JAA01556 for ; Wed, 13 Dec 1995 09:22:02 +1100 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id QAA28576; Tue, 12 Dec 1995 16:56:45 -0500 (EST) Resent-Date: Tue, 12 Dec 1995 16:56:45 -0500 (EST) From: Zefram Message-Id: <22835.199512122156@stone.dcs.warwick.ac.uk> Subject: [beta12] Really minor ZLE listing bug To: zsh-workers@math.gatech.edu (Z Shell workers mailing list) Date: Tue, 12 Dec 1995 21:56:54 +0000 (GMT) X-Loop: zefram@dcs.warwick.ac.uk X-Stardate: [-31]6734.57 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"NsjuA.0.Q-6.SgVpm"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/687 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu -----BEGIN PGP SIGNED MESSAGE----- Here's a `fun' bug: with alwayslastprompt set, get a completion listing on the screen, below the prompt, then press ^C. You get a new prompt as usual, but it immediately puts the old (still valid) list beneath the prompt. It's possible to get the same symptom with EOF if one fiddles a bit. This doesn't actually crash zsh, AFAICT, but it is wrong behaviour. So here's the fix. *** 1.1 1995/11/23 06:07:30 --- Src/zle_main.c 1995/12/12 21:48:32 *************** *** 479,484 **** --- 479,485 ---- refresh(); } statusline = NULL; + invalidatelist(); trashzle(); zleactive = 0; alarm(0); -zefram -----BEGIN PGP SIGNATURE----- Version: 2.6.i iQCVAgUBMM3543D/+HJTpU/hAQE2oAP9Gm3/FiE5gHpbkjtM9ydhqSI/d5HMg8kK uE6XXJ15m95qxj9XtTHanbpeBj/o95BWeRIAWcWgrYDqVUS4CguojNtbdowvuonh KCR5oWo5Vh/5WpMK9h5S78mUb6rc0ZxPVG5kIJY0jJ1XXJcOqQXpnvo0HVw5bksW it+2liLctaI= =6e8P -----END PGP SIGNATURE-----