Skip Menu |

This queue is for tickets about the POE CPAN distribution.

Report information
The Basics
Id: 14081
Status: resolved
Priority: 0/
Queue: POE

People
Owner: Nobody in particular
Requestors: japhy [...] perlmonk.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Date: Tue, 9 Aug 2005 14:59:20 -0400 (EDT)
From: Jeff 'japhy' Pinyan <japhy [...] perlmonk.org>
To: bug-poe [...] rt.cpan.org
Subject: POE::Wheel::ReadLine bug
Attached is a patch to POE::Wheel::ReadLine that fixes a tiny tab-completion bug. When multiple candidates exist of the form PREFIX, PREFIXabc, PREFIXdef, PREFIXghi, etc., the terminal beeps at you, and does not display the candidates. To be more general, the problem is that when the common prefix of the candidates to be displayed IS one of the candidates themselves, the candidates are not displayed. This patch fixes that. In fact, it might be safe to remove the changed line altogether -- I don't think that part of the code is ever reached if there's more than one candidate. -- Jeff "japhy" Pinyan % How can we ever be the sold short or RPI Acacia Brother #734 % the cheated, we who for every service http://japhy.perlmonk.org/ % have long ago been overpaid? http://www.perlmonks.org/ % -- Meister Eckhart

Message body is not shown because sender requested not to inline it.

Hey, remember this patch? I finally applied it at revision 1908. Thank you.