[asterisk-bugs] [Asterisk 0014373]: [patch] Avoid destroying the CLI line when moving the cursor backward and trying to autocomplete.

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 18 09:03:41 CDT 2009


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14373 
====================================================================== 
Reported By:                eliel
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   14373
Category:                   Core/General
Reproducibility:            have not tried
Severity:                   tweak
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 172517 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-30 13:10 CST
Last Modified:              2009-03-18 09:03 CDT
====================================================================== 
Summary:                    [patch] Avoid destroying the CLI line when moving
the cursor backward and trying to autocomplete.
Description: 
When moving the cursor backward and pressing TAB to autocomplete a NULL is
put in the line and we are loosing what we have already wrote after the
actual cursor position.
core show channel<CURSOR>'\0' pepe
If moving the cursor where <CURSOR> is and pressing tab, the
autocompletion mechanism autocomplete the line but puts a NULL and 'pepe'
is no more part of the command line.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-18 09:03 lmadsen        Assigned To               => qwell           
======================================================================




More information about the asterisk-bugs mailing list