[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
Thu Feb 26 17:27:35 CST 2009


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14373 
====================================================================== 
Reported By:                eliel
Assigned To:                lmadsen
====================================================================== 
Project:                    Asterisk
Issue ID:                   14373
Category:                   Core/General
Reproducibility:            have not tried
Severity:                   tweak
Priority:                   normal
Status:                     confirmed
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-02-26 17:27 CST
====================================================================== 
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.
====================================================================== 

---------------------------------------------------------------------- 
 (0100859) lmadsen (administrator) - 2009-02-26 17:27
 http://bugs.digium.com/view.php?id=14373#c100859 
---------------------------------------------------------------------- 
Assigning to myself so I can attempt to reproduce the issue, and then this
patch. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-26 17:27 lmadsen        Note Added: 0100859                          
2009-02-26 17:27 lmadsen        Assigned To               => lmadsen         
======================================================================




More information about the asterisk-bugs mailing list